mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
fix: footer on mobile
This commit is contained in:
@@ -294,7 +294,7 @@ export function SidebarLayout({
|
|||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</Box>
|
</Box>
|
||||||
<Box sx={{ height: 200 }}></Box>
|
<Box sx={(theme) => ({ height: 200, [theme.fn.smallerThan('sm')]: { height: 300 } })}></Box>
|
||||||
<Box
|
<Box
|
||||||
component="footer"
|
component="footer"
|
||||||
sx={(theme) => ({
|
sx={(theme) => ({
|
||||||
@@ -314,11 +314,26 @@ export function SidebarLayout({
|
|||||||
[theme.fn.smallerThan('md')]: {
|
[theme.fn.smallerThan('md')]: {
|
||||||
paddingLeft: 24,
|
paddingLeft: 24,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
[theme.fn.smallerThan('sm')]: {
|
||||||
|
height: 300,
|
||||||
|
},
|
||||||
})}
|
})}
|
||||||
pt={50}
|
pt={50}
|
||||||
>
|
>
|
||||||
<Container>
|
<Container>
|
||||||
<Group position="apart">
|
<Box
|
||||||
|
sx={(theme) => ({
|
||||||
|
display: 'flex',
|
||||||
|
justifyContent: 'space-between',
|
||||||
|
|
||||||
|
[theme.fn.smallerThan('sm')]: {
|
||||||
|
flexDirection: 'column',
|
||||||
|
alignItems: 'center',
|
||||||
|
gap: 50,
|
||||||
|
},
|
||||||
|
})}
|
||||||
|
>
|
||||||
<Link href="https://vercel.com/?utm_source=discordjs&utm_campaign=oss" passHref>
|
<Link href="https://vercel.com/?utm_source=discordjs&utm_campaign=oss" passHref>
|
||||||
<a title="Vercel">
|
<a title="Vercel">
|
||||||
<Image
|
<Image
|
||||||
@@ -367,7 +382,7 @@ export function SidebarLayout({
|
|||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Box>
|
||||||
</Container>
|
</Container>
|
||||||
</Box>
|
</Box>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in New Issue
Block a user