Skip to content

Commit a0fb188

Browse files
authored
Merge pull request #10915 from amit-ksh/footer-breakpoints
using chakra breakoints for footer
2 parents 34f3fec + 926fd0d commit a0fb188

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

src/components/Footer.tsx

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -343,17 +343,11 @@ const Footer: React.FC<IProps> = () => {
343343
<SimpleGrid
344344
gap={4}
345345
justifyContent="space-between"
346-
gridTemplateColumns="repeat(6, auto)"
347-
sx={{
348-
"@media (max-width: 1300px)": {
349-
gridTemplateColumns: "repeat(3, auto)",
350-
},
351-
[`@media (max-width: ${medBp})`]: {
352-
gridTemplateColumns: "repeat(2, auto)",
353-
},
354-
"@media (max-width: 500px)": {
355-
gridTemplateColumns: "auto",
356-
},
346+
templateColumns={{
347+
base: "auto",
348+
sm: "repeat(2, auto)",
349+
md: "repeat(3, auto)",
350+
xl: "repeat(6, auto)",
357351
}}
358352
>
359353
{linkSections.map((section: LinkSection, idx) => (

0 commit comments

Comments
 (0)