From a0f9aa5ea53a71e8ba5e5aa131346d855320795a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 22 Oct 2023 11:41:48 +0200 Subject: Fix chat window size and text selecting on desktop. --- public/common/client.css | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'public') diff --git a/public/common/client.css b/public/common/client.css index 16e9bf1..4f17434 100644 --- a/public/common/client.css +++ b/public/common/client.css @@ -20,7 +20,7 @@ html { user-select: none; } -#log, #prompt { +#log, #prompt, #chat_text { user-select: text; } @@ -513,7 +513,7 @@ menu li:hover img { margin: 0; font-size: 16px; line-height: 24px; - min-height: 216px; + height: 216px; padding: 0px 4px; overflow-y: scroll; } @@ -557,16 +557,11 @@ menu li:hover img { /* MOBILE PHONE LAYOUT */ -#fullscreen_button { - display: none; -} - @media (min-width: 1900px) { #log_button { display: none; } } @media (pointer: coarse) and ( (max-width: 400px) or (max-height: 400px) ) { - #fullscreen_button { display: block; } #zoom_button { display: none; } } @@ -577,6 +572,9 @@ menu li:hover img { #replay_panel, .replay_button { height: 36px; } + #prompt { + user-select: none; + } } @media (max-height: 600px) { @@ -621,7 +619,7 @@ menu li:hover img { border: none; } #chat_text, #notepad_input { - min-height: 48px; + height: auto; } #chat_window.show, #notepad_window.show { display: grid; -- cgit v1.2.3