mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
fix: mas width for meta section
This commit is contained in:
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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user