Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Fix settings alignment for dialog widget modal.
Tim Abbotta5eb3abc52c9
diff --git a/static/styles/settings.css b/static/styles/settings.cssindex 62fe8571264..eba350912c6 100644--- a/static/styles/settings.css+++ b/static/styles/settings.css@@ -1549,10 +1549,17 @@ body:not(.night-mode) #settings_page .custom_user_field .datepicker {background-color: hsl(0, 0%, 100%);}+/* Dialog widgets should be centered, which this roughly achieves. */#dialog_widget_modal {top: calc(50% - 120px);}+/* In the settings overlay, we need slightly different CSS for alignment. */+#settings_overlay_container #dialog_widget_modal {+ top: 50%;+ vertical-align: center;+}+/* These have enough space for "Admins and full members" in German. */#desktop_icon_count_display,#id_realm_waiting_period_setting,