mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
style: spacing
This commit is contained in:
@@ -87,7 +87,7 @@ export default function VersionsRoute(props: Partial<VersionProps> & { error?: s
|
|||||||
return props.error ? (
|
return props.error ? (
|
||||||
<Box sx={{ display: 'flex', maxWidth: '100%', height: '100%' }}>{props.error}</Box>
|
<Box sx={{ display: 'flex', maxWidth: '100%', height: '100%' }}>{props.error}</Box>
|
||||||
) : (
|
) : (
|
||||||
<Container pt={96} size="xs">
|
<Container pt={128} size="xs">
|
||||||
<Stack sx={{ flexGrow: 1 }}>
|
<Stack sx={{ flexGrow: 1 }}>
|
||||||
<Title order={2} ml="xs">
|
<Title order={2} ml="xs">
|
||||||
Select a version:
|
Select a version:
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export default function PackagesRoute() {
|
|||||||
const packages = ['builders', 'collection', 'proxy', 'rest', 'voice', 'ws'];
|
const packages = ['builders', 'collection', 'proxy', 'rest', 'voice', 'ws'];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container pt={96} size="xs">
|
<Container pt={128} size="xs">
|
||||||
<Stack sx={{ flexGrow: 1 }}>
|
<Stack sx={{ flexGrow: 1 }}>
|
||||||
<Title order={2} ml="xs">
|
<Title order={2} ml="xs">
|
||||||
Select a package:
|
Select a package:
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ const useStyles = createStyles((theme) => ({
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
paddingTop: theme.spacing.xl * 4,
|
paddingTop: theme.spacing.xl * 6,
|
||||||
paddingBottom: theme.spacing.xl * 4,
|
paddingBottom: theme.spacing.xl * 2,
|
||||||
|
|
||||||
[theme.fn.smallerThan('md')]: {
|
[theme.fn.smallerThan('md')]: {
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
|
|||||||
Reference in New Issue
Block a user