Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Keep focus outline on formatting-button clicks.
Karl Stolley94216696b46c
diff --git a/web/styles/compose.css b/web/styles/compose.cssindex 6711f6f277f..1266e8cc165 100644--- a/web/styles/compose.css+++ b/web/styles/compose.css@@ -370,7 +370,11 @@border-radius: 4px;border: 1px solid var(--color-message-content-container-border);- &:has(.new_message_textarea:focus) {+ /* The :active selector ensures we don't have a moment+ where the compose-area focus ring disappears while+ a formatting button is clicked. */+ &:has(.new_message_textarea:focus),+ &:has(~ #message-formatting-controls-container:active) {border-color: var(--color-message-content-container-border-focus);}