Skip to content
Prev Previous commit
Next Next commit
fix the rest
  • Loading branch information
siriwatknp committed Feb 24, 2026
commit e2932fe1737b33ad7b226de9ac57d23319e0e8bb
10 changes: 6 additions & 4 deletions docs/data/material/components/grid/NestedGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ export default function NestedGrid() {
</Grid>
<Grid
container
justifyContent="space-between"
alignItems="center"
flexDirection={{ xs: 'column', sm: 'row' }}
sx={{ fontSize: '12px' }}
sx={{
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: { xs: 'column', sm: 'row' },
fontSize: '12px',
}}
size={12}
>
<Grid sx={{ order: { xs: 2, sm: 1 } }}>
Expand Down
10 changes: 6 additions & 4 deletions docs/data/material/components/grid/NestedGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ export default function NestedGrid() {
</Grid>
<Grid
container
justifyContent="space-between"
alignItems="center"
flexDirection={{ xs: 'column', sm: 'row' }}
sx={{ fontSize: '12px' }}
sx={{
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: { xs: 'column', sm: 'row' },
fontSize: '12px',
}}
size={12}
>
<Grid sx={{ order: { xs: 2, sm: 1 } }}>
Expand Down
8 changes: 4 additions & 4 deletions test/regressions/fixtures/Tooltip/PositionedTooltips.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Tooltip from '@mui/material/Tooltip';
function PositionedTooltips() {
return (
<Box sx={{ width: 400, padding: '50px 70px' }}>
<Grid container justifyContent="center">
<Grid container sx={{ justifyContent: 'center' }}>
<Grid>
<Tooltip open arrow title="Add" placement="top-start">
<Button>top-start</Button>
Expand All @@ -21,7 +21,7 @@ function PositionedTooltips() {
</Tooltip>
</Grid>
</Grid>
<Grid container justifyContent="center">
<Grid container sx={{ justifyContent: 'center' }}>
<Grid size={6}>
<Tooltip open arrow title="Add" placement="left-start">
<Button>left-start</Button>
Expand All @@ -35,7 +35,7 @@ function PositionedTooltips() {
<Button>left-end</Button>
</Tooltip>
</Grid>
<Grid container alignItems="flex-end" direction="column" size={6}>
<Grid container direction="column" sx={{ alignItems: 'flex-end' }} size={6}>
<Grid>
<Tooltip open arrow title="Add" placement="right-start">
<Button>right-start</Button>
Expand All @@ -53,7 +53,7 @@ function PositionedTooltips() {
</Grid>
</Grid>
</Grid>
<Grid container justifyContent="center">
<Grid container sx={{ justifyContent: 'center' }}>
<Grid>
<Tooltip open arrow title="Add" placement="bottom-start">
<Button>bottom-start</Button>
Expand Down
Loading