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.

settings: Standardize right panel button height for streams/usergroups.

evykassirer0fe2afe8b3a1
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 5b205493035..06051dd9200 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -1050,8 +1050,12 @@ h4.user_group_setting_subsection_title {
margin-left: 15px;
.tab-container {
+ .tab-switcher {
+ margin: 0;
+ }
+
.ind-tab {
- padding: 3px 4px;
+ padding: 0 4px;
min-width: 80px;
width: auto;
display: flex;
@@ -1062,6 +1066,8 @@ h4.user_group_setting_subsection_title {
padding-top: 5px;
margin-left: auto;
margin-right: 18px;
+ height: var(--settings-overlay-header-button-height);
+ display: flex;
.subscribe-button,
.join_leave_button,
@@ -1069,6 +1075,11 @@ h4.user_group_setting_subsection_title {
.deactivate {
margin-right: 3px;
text-decoration: none;
+ padding: 0 10px;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ box-sizing: border-box;
}
.deactivate {
@@ -1078,11 +1089,6 @@ h4.user_group_setting_subsection_title {
display: flex;
}
}
-
- /* We need this rule to center the user-group-x icon better */
- .deactivate-group-button {
- padding: 8px 10px 4px;
- }
}
}