diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-07-24 23:00:59 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-07-24 23:00:59 -0400 |
commit | 7abeb4a35a0105b94e599de9970404c98790b4d9 (patch) | |
tree | 0cbd81329df21fcdbc5a896a0711657fc60958a1 /styles/client | |
parent | 50a1c6f8432b541d84a1326ae8515589440a3804 (diff) |
Clean up game element
Diffstat (limited to 'styles/client')
-rw-r--r-- | styles/client/base.css | 14 | ||||
-rw-r--r-- | styles/client/desktop.css | 6 | ||||
-rw-r--r-- | styles/client/mobile.css | 4 |
3 files changed, 10 insertions, 14 deletions
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%; - } } |