From 7abeb4a35a0105b94e599de9970404c98790b4d9 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Sun, 24 Jul 2022 23:00:59 -0400 Subject: Clean up game element --- styles/client/base.css | 14 +++++++++----- styles/client/desktop.css | 6 +----- styles/client/mobile.css | 4 ---- 3 files changed, 10 insertions(+), 14 deletions(-) (limited to 'styles/client') diff --git a/styles/client/base.css b/styles/client/base.css index 60631ce..85bec49 100644 --- a/styles/client/base.css +++ b/styles/client/base.css @@ -337,12 +337,16 @@ div.chat-text > div { div.game > h2 { margin: 0; + overflow: hidden; + white-space: nowrap; } -button.join { - position: absolute; - - bottom: 5px; - right: 5px; +div.game > span { + width: 50%; + display: inline-block; } +div.game > div { + display: flex; + flex-direction: row-reverse; +} diff --git a/styles/client/desktop.css b/styles/client/desktop.css index 410b516..2f5bb65 100644 --- a/styles/client/desktop.css +++ b/styles/client/desktop.css @@ -84,7 +84,7 @@ } div.content { - min-width: 70vw; + width: 70vw; min-height: 70vh; display: flex; @@ -135,10 +135,6 @@ margin-top: 10px; } - div.game { - height: 20%; - } - /* Table rules */ diff --git a/styles/client/mobile.css b/styles/client/mobile.css index 70e17dd..92bf6e4 100644 --- a/styles/client/mobile.css +++ b/styles/client/mobile.css @@ -78,8 +78,4 @@ box-sizing: border-box; } - - div.game { - height: 12.5%; - } } -- cgit v1.2.3