fix: mas width for meta section

This commit is contained in:
tresabhi committed 2025-04-20 21:13:40 -05:00
1 parent 1a46e176f5
commit 0924a77776
1 file changed
+7 -1
@@ -25,6 +25,7 @@ export function MetaSection() {
const { locale, strings } = useLocale(); const { locale, strings } = useLocale();
return ( return (
<Flex justify="center">
<Box <Box
style={{ style={{
background: `url(/assets/images/national-wallpapers/${protagonist.nation}.jpg)`, background: `url(/assets/images/national-wallpapers/${protagonist.nation}.jpg)`,
@@ -33,6 +34,8 @@ export function MetaSection() {
backgroundPosition: backgroundPosition:
NATIONAL_BANNER_POSITION_OVERRIDES[protagonist.nation] ?? 'center', NATIONAL_BANNER_POSITION_OVERRIDES[protagonist.nation] ?? 'center',
}} }}
flexGrow="1"
maxWidth="120rem"
> >
<Box <Box
style={{ style={{
@@ -95,7 +98,9 @@ export function MetaSection() {
<Flex direction="column" width="100%" gap="2"> <Flex direction="column" width="100%" gap="2">
{developerMode && ( {developerMode && (
<Listing label={strings.website.tools.tankopedia.meta.dev_id}> <Listing
label={strings.website.tools.tankopedia.meta.dev_id}
>
<Code>{protagonist.id}</Code> <Code>{protagonist.id}</Code>
</Listing> </Listing>
)} )}
@@ -174,5 +179,6 @@ export function MetaSection() {
</Flex> </Flex>
</Box> </Box>
</Box> </Box>
</Flex>
); );
} }