Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Fix the red outline in invalid state in dark theme.

N-Shar-ma5a740d4fbbd6
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index dbe720564d9..0d9b2d8e9eb 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -306,9 +306,9 @@
}
}
- & textarea.new_message_textarea {
- &.invalid,
- &.invalid:focus {
+ #message-content-container {
+ &:has(textarea.new_message_textarea.invalid),
+ &:has(textarea.new_message_textarea.invalid:focus) {
border-color: hsl(3deg 73% 74%);
box-shadow: 0 0 2px hsl(3deg 73% 74%);
}