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: Offset low-attention pill outlines.

Karl Stolley2fce6fa3170e
diff --git a/web/styles/compose.css b/web/styles/compose.css
index b15876984d8..a5ce7e458e7 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1310,6 +1310,11 @@ textarea.new_message_textarea {
outline on them in the low-attention state. */
.pill {
outline: 1px solid var(--color-outline-low-attention-input-pill);
+ /* We offset the outline so that pills do not appear to touch,
+ especially in dark mode where the outline color is otherwise
+ the same as the pill color (the opacity makes it brighter
+ when so offset, too). */
+ outline-offset: -1px;
}
&:hover:not(.disabled) {