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.

modals: Adjust modal content padding as per the redesign specifications.

Sayam Samaldc9495e9ba8d
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 0e4560f2ae0..baf53b1dc3c 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -126,15 +126,15 @@
.modal__content {
display: flex;
flex-direction: column;
- /* 2px 24px at 16px/1em */
- padding: 0.125em 1.5em;
+ /* 14px 16px at 16px/1em */
+ padding: 0.875em 1em;
/* Prevent the appearance of a horizontal
native scrollbar at certain
info-density/zoom levels. */
overflow: hidden auto;
- /* Set a max-width, less the 1.5em of left and right
+ /* Set a max-width, less the 1em of left and right
padding specified above. */
- max-width: calc(100% - 3em);
+ max-width: calc(100% - 2em);
> .simplebar-wrapper {
/* Compensate the 3em reduced in modal_content so it positions