diff --git a/front/style/visualizer.css b/front/style/visualizer.css index 3798147..2d1a73f 100644 --- a/front/style/visualizer.css +++ b/front/style/visualizer.css @@ -1,7 +1,8 @@ #main { - height: 100%; + height: 100vh; width: 100%; - background-color: var(--background-color); + display: flex; + flex-direction: column; } #topbar { @@ -11,12 +12,19 @@ align-items: center; } -.h1 { +h1 { text-align: center; margin-top: 0; } -.id { - width: 1000px; - height: 1000px; +#court-container { + flex: 1; + display: flex; + justify-content: center; + background-color: var(--main-color); +} + +#court { + max-width: 80%; + max-height: 80%; } diff --git a/front/views/Visualizer.tsx b/front/views/Visualizer.tsx index 22d8fd9..7ddc327 100644 --- a/front/views/Visualizer.tsx +++ b/front/views/Visualizer.tsx @@ -10,7 +10,9 @@ export default function Visualizer({ id, name }: { id: number; name: string }) {