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.

search: Hide outline unless focus-visible.

evykassirer50b43421f1ad
diff --git a/web/styles/search.css b/web/styles/search.css
index bb50aa9d205..99b790b8011 100644
--- a/web/styles/search.css
+++ b/web/styles/search.css
@@ -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;
}