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.

scroll: Set outline as none for `.simplebar-content-wrapper`.

Shubham Padia49f6fc5a4062
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 9e269e3261b..59aaca870cf 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2214,6 +2214,13 @@ body:not(.hide-left-sidebar) {
}
.simplebar-content-wrapper {
+ /* `simplebar-content-wrapper` has `tabindex=-1` set, which makes sure
+ that it does not get focus when navigating via a keyboard.
+
+ But in a few situations, we programmatically focus this
+ element, and in this case, we don't want to see the outline. */
+ outline: none;
+
/* This prevents the popover from closing once the top/bottom is reached */
overscroll-behavior: contain;
}