Skip to content

Commit c445a29

Browse files
committed
fix Grid system props in docs/src/components
1 parent df3f57b commit c445a29

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

docs/src/components/about/Team.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ export default function Team() {
394394
Special members of the community deserve a shout-out for their ever-lasting impact on
395395
MUI's open-source projects.
396396
</Typography>
397-
<Grid container spacing={2} mt={2}>
397+
<Grid container spacing={2} sx={{ mt: 2 }}>
398398
{contributors.map((profile) => (
399399
<Grid key={profile.name} size={{ xs: 12, sm: 6, md: 3 }}>
400400
<Person {...profile} sx={{ bgcolor: 'primaryDark.600' }} />
@@ -413,7 +413,7 @@ export default function Team() {
413413
We honor some no-longer-active core team members who have made valuable contributions in
414414
the past. They advise us from time to time.
415415
</Typography>
416-
<Grid container spacing={2} mt={2}>
416+
<Grid container spacing={2} sx={{ mt: 2 }}>
417417
{emeriti.map((profile) => (
418418
<Grid key={profile.name} size={{ xs: 12, sm: 6, md: 3 }}>
419419
<Person {...profile} sx={{ bgcolor: 'primaryDark.600' }} />

docs/src/components/careers/PerksBenefits.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function RemoteAwardCard() {
104104
export default function PerksBenefits() {
105105
return (
106106
<Section bg="gradient" cozy>
107-
<Grid container spacing={5} alignItems="center">
107+
<Grid container spacing={5} sx={{ alignItems: 'center' }}>
108108
<Grid size={{ md: 6 }}>
109109
<SectionHeadline
110110
overline="Working at MUI"

docs/src/components/productDesignKit/DesignKitDemo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export default function DesignKitsDemo() {
187187
};
188188
return (
189189
<Section bg="gradient" cozy>
190-
<Grid container spacing={2} alignItems="center">
190+
<Grid container spacing={2} sx={{ alignItems: 'center' }}>
191191
<Grid sx={{ minWidth: 0 }} size={{ md: 6 }}>
192192
<SectionHeadline
193193
overline="Design Kits"

docs/src/components/productDesignKit/DesignKitValues.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function DesignKitValues() {
4141
</Typography>
4242
}
4343
/>
44-
<Grid container spacing={3} mt={4}>
44+
<Grid container spacing={3} sx={{ mt: 4 }}>
4545
{content.map(({ icon, title, description }) => (
4646
<Grid key={title} size={{ xs: 12, sm: 6, md: 4 }}>
4747
<InfoCard title={title} icon={icon} description={description} />

docs/src/components/productMaterial/MaterialDesignKits.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function MaterialDesignKits({ gradient }: MaterialDesignKitsProps
4242

4343
return (
4444
<Section cozy bg={gradient ? 'gradient' : 'white'}>
45-
<Grid container spacing={2} alignItems="center">
45+
<Grid container spacing={2} sx={{ alignItems: 'center' }}>
4646
<Grid sx={{ minWidth: 0 }} size={{ md: 6 }}>
4747
<SectionHeadline
4848
overline="Design resources"

docs/src/components/productMaterial/MaterialEnd.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function MaterialEnd({ noFaq }: MaterialEndProps) {
5757
/>
5858
</Box>
5959
) : (
60-
<Grid container spacing={{ xs: 6, sm: 10 }} alignItems="center">
60+
<Grid container spacing={{ xs: 6, sm: 10 }} sx={{ alignItems: 'center' }}>
6161
<Grid size={{ xs: 12, sm: 6 }}>
6262
<SectionHeadline
6363
overline="Community"

docs/src/components/productTemplate/TemplateDemo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default function TemplateDemo() {
5858

5959
return (
6060
<Section bg="gradient">
61-
<Grid container spacing={2} alignItems="center">
61+
<Grid container spacing={2} sx={{ alignItems: 'center' }}>
6262
<Grid sx={{ minWidth: 0 }} size={{ md: 6 }}>
6363
<SectionHeadline
6464
overline="Templates"

docs/src/components/productX/XPlans.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const content = [
3636
export default function XPlans2() {
3737
return (
3838
<Section cozy>
39-
<Grid container spacing={2} alignItems="center">
39+
<Grid container spacing={2} sx={{ alignItems: 'center' }}>
4040
<Grid size={{ md: 6 }}>
4141
<SectionHeadline
4242
overline="Plans"

docs/src/components/productX/XRoadmap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default function XRoadmap() {
9999
}`,
100100
}}
101101
>
102-
<Grid container spacing={2} alignItems="center" justifyContent="space-between">
102+
<Grid container spacing={2} sx={{ alignItems: 'center', justifyContent: 'space-between' }}>
103103
<Grid size={{ xs: 12, md: 5 }}>
104104
<SectionHeadline
105105
overline="Roadmap"

0 commit comments

Comments
 (0)