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.

action_buttons: Remove bottom margin from Bootstrap.

Karl Stolley42e1b104e26d
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index fbb8a6757bf..e96131b56f0 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -910,6 +910,11 @@ of the base style defined for a read-only textarea in dark mode. */
margin-bottom: 10px;
cursor: default;
+ .edit-form {
+ /* Override Bootstrap. */
+ margin-bottom: 0;
+ }
+
.edit-controls {
margin-left: 0;
margin-top: 0;
diff --git a/web/templates/message_edit_form.hbs b/web/templates/message_edit_form.hbs
index b8c57cb4607..87e004eb63e 100644
--- a/web/templates/message_edit_form.hbs
+++ b/web/templates/message_edit_form.hbs
@@ -1,7 +1,7 @@
{{! Client-side Handlebars template for rendering the message edit form. }}
<div class="message_edit">
<div class="message_edit_form">
- <form id="edit_form_{{message_id}}">
+ <form class="edit-form" id="edit_form_{{message_id}}">
<div class="edit_form_banners"></div>
<div class="edit-controls edit-content-container {{#if is_editable}}surround-formatting-buttons-row{{/if}}">
<div class="message-edit-textbox">