From c49d93221003d93b293ba570fc67478fa39b03e7 Mon Sep 17 00:00:00 2001 From: Ftwpala Date: Mon, 16 Dec 2024 00:40:34 +0100 Subject: [PATCH] Fixed layout breaking when the message is hidden. oopsie (#529) --- assets/chat/css/style.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/chat/css/style.scss b/assets/chat/css/style.scss index 4d6c0cf9..e157edc8 100644 --- a/assets/chat/css/style.scss +++ b/assets/chat/css/style.scss @@ -132,6 +132,9 @@ label small { #chat-whisper-btn { margin-right: 20px; } + #chat-settings-btn { + margin-left: 20px; + } } #chat-windows-select { box-shadow: 0 2px 6px black; @@ -208,14 +211,15 @@ label small { font-family: $chat-lines-font; font-size: $text-size-md; color: red; - display: none; + opacity: 0; text-align: center; align-content: center; - user-select: text; // otherwise it feels weird + user-select: none; } #chat-input-error.show { - display: block; + opacity: 1; + user-select: text; // otherwise it feels weird } #chat-input-scaler, #chat-input-control {