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.

inbox: Fix first row icon visible without user action.

Aman Agrawalfd911095eb8e
diff --git a/web/styles/inbox.css b/web/styles/inbox.css
index dcb84fbb832..3c57a9db3ff 100644
--- a/web/styles/inbox.css
+++ b/web/styles/inbox.css
@@ -452,8 +452,10 @@
.inbox-row,
.inbox-header {
- &:focus,
- &:focus-within,
+ /* Don't show the icons unless user is visibly focused
+ on the element or one of the elements within it. */
+ &:focus-within:not(:focus),
+ &:focus-visible,
&:hover {
.inbox-row-visibility-policy-inherit,
.inbox-action-button {