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.

message_edit: Lay out edit buttons with flexbox.

Karl Stolley09ae717feec3
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 80078d5ab38..56cdfc48fc5 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -484,11 +484,16 @@ $time_column_min_width: 42px; /* + padding */
.message-actions-button {
box-sizing: border-box;
+ /* Display the actions buttons as
+ flex containers for positioning
+ text and spinners. */
+ display: flex;
+ align-items: center;
+ justify-content: center;
height: 28px;
- padding: 6px 10px;
+ padding: 0 10px;
border-radius: 4px;
border: 0;
- margin-bottom: 0;
line-height: 1;
}
@@ -561,10 +566,7 @@ $time_column_min_width: 42px; /* + padding */
.message_edit_save .loader {
display: none;
- vertical-align: top;
- position: relative;
height: 28px;
- margin-top: -6px;
width: 28px;
}