From b48f72c3d582651c5612756cb3179d6142c1e28a Mon Sep 17 00:00:00 2001 From: Wolfboy248 Date: Wed, 11 Dec 2024 09:52:05 +0100 Subject: fix/frontend: fixed sidebar title size, removed unnecessary imports --- frontend/src/components/GameCategory.tsx | 2 -- frontend/src/components/GameEntry.tsx | 1 - frontend/src/css/Sidebar.module.css | 3 ++- frontend/src/pages/Games.tsx | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/GameCategory.tsx b/frontend/src/components/GameCategory.tsx index 80ee416..a568a8f 100644 --- a/frontend/src/components/GameCategory.tsx +++ b/frontend/src/components/GameCategory.tsx @@ -2,8 +2,6 @@ import React from 'react'; import { Link } from "react-router-dom"; import { Game, GameCategoryPortals } from '@customTypes/Game'; -import "@css/Games.css" -import games from "@css/Games.module.css"; import info from "@css/Info.module.css"; interface GameCategoryProps { diff --git a/frontend/src/components/GameEntry.tsx b/frontend/src/components/GameEntry.tsx index ebba419..2fba85a 100644 --- a/frontend/src/components/GameEntry.tsx +++ b/frontend/src/components/GameEntry.tsx @@ -2,7 +2,6 @@ import React from 'react'; import { Link } from "react-router-dom"; import { Game, GameCategoryPortals } from '@customTypes/Game'; -import "@css/Games.css" import games from "@css/Games.module.css"; import GameCategory from '@components/GameCategory'; diff --git a/frontend/src/css/Sidebar.module.css b/frontend/src/css/Sidebar.module.css index 9436a93..356b062 100644 --- a/frontend/src/css/Sidebar.module.css +++ b/frontend/src/css/Sidebar.module.css @@ -36,7 +36,7 @@ padding-left: 8px; } -.logoTitle { +.logoTitle b { display: flex; height: 60px; font-size: 56px; @@ -109,6 +109,7 @@ height: calc(100% - 54px); } +/* this can be improved */ .result { margin: 10px 6px 0 6px; height: 80px; diff --git a/frontend/src/pages/Games.tsx b/frontend/src/pages/Games.tsx index 45dd170..e0320af 100644 --- a/frontend/src/pages/Games.tsx +++ b/frontend/src/pages/Games.tsx @@ -2,7 +2,6 @@ import React from 'react'; import GameEntry from '@components/GameEntry'; import { Game } from '@customTypes/Game'; -import "@css/Maps.css" import gamesCSS from "@css/Games.module.css"; interface GamesProps { -- cgit v1.2.3