fix: full screen table

This commit is contained in:
TrèsAbhi committed 2025-10-02 10:39:36 -05:00
1 parent 9b97d3e27d
commit 7c18549c00
3 files changed
+5 -9

No files matched your search

+2 -5
View File
@@ -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 function tankIcon(
id: number,
size: 'big' | 'small' | 'blitzkit' = 'blitzkit',
) {
export function tankIcon(id: number, size: "big" | "small" = "big") {
return asset(`icons/tanks/${size}/${id}.webp`);
}
@@ -51,10 +51,9 @@ export function CompareTable({ stats }: CompareTableProps) {
variant="surface"
style={{
position: "absolute",
maxWidth: "100%",
maxHeight: "100%",
width: "100%",
height: "100%",
// height: 'calc(100vh - 128px)'
borderRadius: 0,
}}
>
<Table.Header>
@@ -117,7 +117,7 @@ function Content() {
}, [members]);
return (
<PageWrapper color="crimson" maxWidth="100%">
<PageWrapper color="crimson" maxWidth="100%" px="0" pb="0">
<Flex justify="center" gap="4" align="center" direction="column">
<DamageWarning />
<Controls