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.

left_sidebar: Fix focus styles for back to channels link in DM list.

Sayam Samalc3aaaa2303ff
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index a411d37f991..90465c46c7b 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -221,6 +221,7 @@
display: none;
margin-right: var(--left-sidebar-right-margin);
line-height: var(--line-height-sidebar-row);
+ border-radius: 4px;
text-decoration: none;
color: inherit;
@@ -236,7 +237,10 @@
&:hover {
background-color: var(--color-background-sidebar-action-heading-hover);
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
- border-radius: 4px;
+ }
+
+ &:focus {
+ outline: none;
}
}
@@ -476,7 +480,8 @@
.topic-list
.bottom_left_row:has(a.topic-box:focus-visible),
#direct-messages-list .dm-list .bottom_left_row:has(a.dm-box:focus-visible),
-#show-more-direct-messages:has(a.dm-name:focus-visible) {
+#show-more-direct-messages:has(a.dm-name:focus-visible),
+#hide-more-direct-messages:focus-visible {
outline: 2px solid var(--color-outline-focus);
outline-offset: -2px;
background-color: var(--color-background-hover-narrow-filter);