Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
subscriptions: Keep focus ring within button area.
Karl Stolleydc2a2be68acb
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.cssindex 8b05d974e74..566666a3531 100644--- a/web/styles/subscriptions.css+++ b/web/styles/subscriptions.css@@ -334,6 +334,14 @@visibility: hidden;z-index: -1;}++ &:focus-visible {+ /* We don't have room in this area to show a focus ring+ that sits outside the button, so here we set the+ outline-offset to the negative value of whatever the+ outline width is. */+ outline-offset: calc(var(--outline-width-button-focus) * -1);+ }}}