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.

compose: Adjust alignment and size of Drafts button at smaller widths.

N-Shar-ma13df423ae17a
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 08dde671a2d..95f7e20b54e 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1333,13 +1333,13 @@ textarea.new_message_textarea,
}
@media (width < $mc_min) {
- margin-left: 0;
- /* With no negative left margin,
- hold the max width to 100%. */
- max-width: 100%;
+ /* Reduce the padding on the sides so the
+ button's edge isn't too close to the textarea */
+ margin-left: -3px;
+ max-width: calc(100% + 3px);
/* Align the `Drafts` text with the
send icon below. */
- padding: 0 5px;
+ padding: 0 3px;
}
}