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.

topic_popover: Fix the wiggle on hovering visibility policy buttons.

Prakhar Pratyush3b56e0f5cac8
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index fdbe3c0ec32..f61b813f22d 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -1178,7 +1178,7 @@ div.overlay {
.selected-tab {
background-color: hsl(0deg 0% 100%);
- border: 1px solid hsl(0deg 0% 0% / 30%);
+ outline: 1px solid hsl(0deg 0% 0% / 30%);
z-index: 1;
}
@@ -1189,12 +1189,13 @@ div.overlay {
box-sizing: border-box;
width: 100%;
height: 100%;
+ margin: 1px;
cursor: pointer;
border-radius: 5px;
&:hover:not(.selected-tab) {
background-color: hsl(0deg 0% 100%);
- border: 1px solid hsl(0deg 0% 0% / 30%);
+ outline: 1px solid hsl(0deg 0% 0% / 30%);
}
}
}
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 0b613f2bf50..1d942df20ae 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -1522,13 +1522,13 @@
.selected-tab {
background-color: hsl(0deg 0% 17% / 50%);
- border: 1px solid hsl(0deg 0% 100% / 12%);
+ outline: 1px solid hsl(0deg 0% 100% / 12%);
}
.tab-option {
&:hover:not(.selected-tab) {
background-color: hsl(0deg 0% 17% / 50%);
- border: 1px solid hsl(0deg 0% 100% / 12%);
+ outline: 1px solid hsl(0deg 0% 100% / 12%);
}
}
}