aboutsummaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
authorWolfboy248 <georgejvindkarlsen@gmail.com>2024-12-11 09:52:05 +0100
committerWolfboy248 <georgejvindkarlsen@gmail.com>2024-12-11 09:52:05 +0100
commitb48f72c3d582651c5612756cb3179d6142c1e28a (patch)
treef522b792196b20f9584ee8d38b13299329887fdd /frontend/src
parentfix/frontend: games page css rehaul, small maplist fixes (diff)
downloadlphub-b48f72c3d582651c5612756cb3179d6142c1e28a.tar.gz
lphub-b48f72c3d582651c5612756cb3179d6142c1e28a.tar.bz2
lphub-b48f72c3d582651c5612756cb3179d6142c1e28a.zip
fix/frontend: fixed sidebar title size, removed unnecessary imports
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/components/GameCategory.tsx2
-rw-r--r--frontend/src/components/GameEntry.tsx1
-rw-r--r--frontend/src/css/Sidebar.module.css3
-rw-r--r--frontend/src/pages/Games.tsx1
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';
2import { Link } from "react-router-dom"; 2import { Link } from "react-router-dom";
3 3
4import { Game, GameCategoryPortals } from '@customTypes/Game'; 4import { Game, GameCategoryPortals } from '@customTypes/Game';
5import "@css/Games.css"
6import games from "@css/Games.module.css";
7import info from "@css/Info.module.css"; 5import info from "@css/Info.module.css";
8 6
9interface GameCategoryProps { 7interface 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';
2import { Link } from "react-router-dom"; 2import { Link } from "react-router-dom";
3 3
4import { Game, GameCategoryPortals } from '@customTypes/Game'; 4import { Game, GameCategoryPortals } from '@customTypes/Game';
5import "@css/Games.css"
6import games from "@css/Games.module.css"; 5import games from "@css/Games.module.css";
7 6
8import GameCategory from '@components/GameCategory'; 7import 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 @@
36 padding-left: 8px; 36 padding-left: 8px;
37} 37}
38 38
39.logoTitle { 39.logoTitle b {
40 display: flex; 40 display: flex;
41 height: 60px; 41 height: 60px;
42 font-size: 56px; 42 font-size: 56px;
@@ -109,6 +109,7 @@
109 height: calc(100% - 54px); 109 height: calc(100% - 54px);
110} 110}
111 111
112/* this can be improved */
112.result { 113.result {
113 margin: 10px 6px 0 6px; 114 margin: 10px 6px 0 6px;
114 height: 80px; 115 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';
2 2
3import GameEntry from '@components/GameEntry'; 3import GameEntry from '@components/GameEntry';
4import { Game } from '@customTypes/Game'; 4import { Game } from '@customTypes/Game';
5import "@css/Maps.css"
6import gamesCSS from "@css/Games.module.css"; 5import gamesCSS from "@css/Games.module.css";
7 6
8interface GamesProps { 7interface GamesProps {