mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: full screen table
This commit is contained in:
1 parent
9b97d3e27d
commit
7c18549c00
3 files changed
+5
-9
No files matched your search
@@ -1,10 +1,7 @@
|
|||||||
import { asset } from '@blitzkit/core';
|
import { asset } from "@blitzkit/core";
|
||||||
|
|
||||||
export const BLITZKIT_TANK_ICON_SIZE = { width: 40 * 16, height: 30 * 16 };
|
export const BLITZKIT_TANK_ICON_SIZE = { width: 40 * 16, height: 30 * 16 };
|
||||||
|
|
||||||
export function tankIcon(
|
export function tankIcon(id: number, size: "big" | "small" = "big") {
|
||||||
id: number,
|
|
||||||
size: 'big' | 'small' | 'blitzkit' = 'blitzkit',
|
|
||||||
) {
|
|
||||||
return asset(`icons/tanks/${size}/${id}.webp`);
|
return asset(`icons/tanks/${size}/${id}.webp`);
|
||||||
}
|
}
|
||||||
@@ -51,10 +51,9 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
variant="surface"
|
variant="surface"
|
||||||
style={{
|
style={{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
maxWidth: "100%",
|
width: "100%",
|
||||||
maxHeight: "100%",
|
|
||||||
height: "100%",
|
height: "100%",
|
||||||
// height: 'calc(100vh - 128px)'
|
borderRadius: 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Table.Header>
|
<Table.Header>
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ function Content() {
|
|||||||
}, [members]);
|
}, [members]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageWrapper color="crimson" maxWidth="100%">
|
<PageWrapper color="crimson" maxWidth="100%" px="0" pb="0">
|
||||||
<Flex justify="center" gap="4" align="center" direction="column">
|
<Flex justify="center" gap="4" align="center" direction="column">
|
||||||
<DamageWarning />
|
<DamageWarning />
|
||||||
<Controls
|
<Controls
|
||||||
|
|||||||
Reference in new issue
Block a user