diff --git a/src/main.tsx b/src/main.tsx index d4e139c8..2b8defd5 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -2,7 +2,7 @@ import React from "react"; import ReactDOM from "react-dom/client"; import { App } from "./screens/app.tsx"; import "./index.css"; -import '@xelene/tgui/dist/styles.css'; +import "@xelene/tgui/dist/styles.css"; import "@mdi/font/css/materialdesignicons.min.css"; import WebApp from "@twa-dev/sdk"; diff --git a/src/screens/component-catalog/pie-chart-canvas-story.tsx b/src/screens/component-catalog/pie-chart-canvas-story.tsx index 0f766e7a..b2888dcb 100644 --- a/src/screens/component-catalog/pie-chart-canvas-story.tsx +++ b/src/screens/component-catalog/pie-chart-canvas-story.tsx @@ -1,15 +1,9 @@ import { PieChartCanvas } from "../user-statistics/pie-chart-canvas.tsx"; -import { css } from "@emotion/css"; +import { Flex } from "../../ui/flex.tsx"; export const PieChartCanvasStory = () => { return ( -
+ { width={200} height={200} /> -
+ ); }; diff --git a/src/screens/deck-catalog/deck-catalog.tsx b/src/screens/deck-catalog/deck-catalog.tsx index 99fab0d5..ccc15679 100644 --- a/src/screens/deck-catalog/deck-catalog.tsx +++ b/src/screens/deck-catalog/deck-catalog.tsx @@ -20,6 +20,7 @@ import { DeckAddedLabel } from "./deck-added-label.tsx"; import { t, translateCategory } from "../../translations/t.ts"; import { enumValues } from "../../lib/typescript/enum-values.ts"; import { Screen } from "../shared/screen.tsx"; +import { Flex } from "../../ui/flex.tsx"; export const DeckCatalog = observer(() => { const store = useDeckCatalogStore(); @@ -34,7 +35,7 @@ export const DeckCatalog = observer(() => { return ( -
+
{t("category")}