Skip to content

Commit

Permalink
Merge branch 'master' into cherry-pick-43141
Browse files Browse the repository at this point in the history
Signed-off-by: Diego Andai <diego@mui.com>
  • Loading branch information
DiegoAndai committed Aug 1, 2024
2 parents 716e8f4 + b6b702f commit fcecae8
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions docs/src/components/pricing/PricingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Tooltip from '@mui/material/Tooltip';
import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
import { useRouter } from 'next/router';
import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded';
import OpenInNewRoundedIcon from '@mui/icons-material/OpenInNewRounded';
import LaunchRounded from '@mui/icons-material/LaunchRounded';
import UnfoldMoreRounded from '@mui/icons-material/UnfoldMoreRounded';
import { Link } from '@mui/docs/Link';
Expand Down Expand Up @@ -142,7 +143,16 @@ export function PlanPrice(props: PlanPriceProps) {
{priceUnit}
</Typography>
</Box>
<Box sx={{ minHeight: planPriceMinHeight }}>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: 2,
mb: 2,
minHeight: planPriceMinHeight,
}}
>
{(annual || monthlyDisplay) && (
<Typography variant="body2" color="text.secondary" textAlign="center">
{priceExplanation}
Expand Down Expand Up @@ -216,7 +226,16 @@ export function PlanPrice(props: PlanPriceProps) {
{priceUnit}
</Typography>
</Box>
<Box sx={{ minHeight: planPriceMinHeight }}>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: 2,
mb: 2,
minHeight: planPriceMinHeight,
}}
>
{(annual || monthlyDisplay) && (
<Typography variant="body2" color="text.secondary" textAlign="center">
{priceExplanation}
Expand Down

0 comments on commit fcecae8

Please sign in to comment.