From 13818fcaa6a628cab6d8510b49775dd82327dc42 Mon Sep 17 00:00:00 2001 From: Arif Hasanic Date: Wed, 24 Sep 2025 20:14:48 +0200 Subject: [PATCH] quick timetable style fix --- src/components/Amogus/Amogus.tsx | 4 ++-- src/components/DepartureList/style.module.css | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/components/Amogus/Amogus.tsx b/src/components/Amogus/Amogus.tsx index 9ae0efc..9126e4e 100644 --- a/src/components/Amogus/Amogus.tsx +++ b/src/components/Amogus/Amogus.tsx @@ -39,8 +39,8 @@ const makeCrewmate = (imposter: boolean): Amogus => ({ isImposter: imposter, posX: randNum(0, width - amogusWidth), posY: randNum(0, height - amogusHeight), - speedX: Math.random() > 0.5 ? randNum(1, 2) : randNum(-1, -2), - speedY: Math.random() > 0.5 ? randNum(1, 2) : randNum(-1, -2), + speedX: Math.random() > 0.5 ? randNum(4, 10) : randNum(-4, -10), + speedY: Math.random() > 0.5 ? randNum(4, 10) : randNum(-4, -10), }); const intersect = (c1: Amogus, c2: Amogus): boolean => diff --git a/src/components/DepartureList/style.module.css b/src/components/DepartureList/style.module.css index 3d6f7a8..9079864 100644 --- a/src/components/DepartureList/style.module.css +++ b/src/components/DepartureList/style.module.css @@ -1,7 +1,7 @@ .container { display: flex; flex-direction: column; - align-items: ; + align-items: stretch; padding: 0 10px 20px 10px; margin-bottom: 20px; border-top: 2px solid white; @@ -13,10 +13,19 @@ .departureLists { display: flex; flex-direction: row; - width: 600px; + justify-content: space-between; + min-width: 300px; + padding-top: 20px; } .heading { text-align: left; padding-left: 30px; } + +.departureTable { + display: flex; + flex-direction: column; + padding-left: 80px; + padding-right: 80px; +}