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.

CSS: Extract common CSS for .navbar-dropdown-menu.

Aman Agrawal41c06e29892d
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 5b695b708f8..73e4198644d 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -1101,6 +1101,19 @@ ul {
.navbar-dropdown-menu {
display: flex;
flex-flow: column nowrap;
+ margin: 0;
+ padding: 0;
+ border: solid 1px var(--color-border-dropdown-menu);
+ background-color: var(--color-background-dropdown-menu);
+ max-height: 85vh;
+ min-width: 230px;
+ overflow-x: hidden;
+ user-select: none;
+ border-radius: 6px;
+
+ .simplebar-content {
+ min-width: max-content;
+ }
.text-item,
.link-item a {
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 13ac47fcb8a..ce195239d33 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -3518,28 +3518,6 @@ select.invite-as {
}
}
-#personal-menu-dropdown {
- display: block;
- margin: 0;
- position: relative;
- padding: 0;
- border: solid 1px var(--color-border-dropdown-menu);
- background-color: var(--color-background-dropdown-menu);
- max-height: 85vh;
- min-width: 230px;
- overflow-x: hidden;
- user-select: none;
-
- .simplebar-content {
- min-width: max-content;
- }
-
- .personal-menu-nav {
- border-radius: 6px;
- overflow: hidden;
- }
-}
-
.personal-menu-tippy {
.tippy-box {
border: 0;