compose: Offset low-attention pill outlines.

This commit is contained in:
Karl Stolley
2025-08-29 14:23:39 -05:00
committed by Tim Abbott
parent 415f7610c9
commit 2fce6fa317

View File

@@ -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) {