summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-22 11:41:48 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-22 11:53:31 +0200
commita0f9aa5ea53a71e8ba5e5aa131346d855320795a (patch)
treed124d8865f17dd202ff4bac75efa82b5017a8259 /public
parent31aa0f52ab3dd088d7bd13a2ba88a657ede77b32 (diff)
downloadserver-a0f9aa5ea53a71e8ba5e5aa131346d855320795a.tar.gz
Fix chat window size and text selecting on desktop.
Diffstat (limited to 'public')
-rw-r--r--public/common/client.css14
1 files changed, 6 insertions, 8 deletions
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;