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: Counteract max-width from modal_content on simplebar-wrapper.

Pratik Chanda5f34415b2800
diff --git a/web/styles/modal.css b/web/styles/modal.css
index ab9659c93e6..a743f32de20 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -130,6 +130,12 @@
padding specified above. */
max-width: calc(100% - 3em);
+ > .simplebar-wrapper {
+ /* Compensate the 3em reduced in modal_content so it positions
+ itself correctly */
+ max-width: calc(100% + 3em);
+ }
+
&.simplebar-scrollable-y + .modal__footer {
border-top: 1px solid var(--color-border-modal-footer);
}