search: Hide outline unless focus-visible.

Followup to https://github.com/zulip/zulip/pull/31647#discussion_r1767352535
This commit is contained in:
evykassirer 2024-09-19 16:11:49 -07:00 committed by Tim Abbott
parent d73044ee57
commit 50b43421f1
1 changed files with 2 additions and 4 deletions

View File

@ -43,16 +43,14 @@
/* Reset iOS button defaults. */
color: var(--color-search-icons);
padding: 0;
&:not(:focus-visible) {
outline: none;
}
outline: none;
&:hover {
opacity: 1;
}
&:focus-visible {
outline: 2px solid var(--color-outline-focus);
outline-offset: -3px;
}