mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +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 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
|
||||
|
||||
Reference in new issue
Block a user