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: Keep formatting scroll arrows from overlapping the compose box.

sandeep86c288be6b8e
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 1266e8cc165..d32e54aef71 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -556,7 +556,13 @@
}
.formatting-control-scroller-button {
- z-index: 5;
+ /* These buttons only need to layer above the horizontally
+ scrolling formatting buttons (z-index 0) they overlay, so a
+ z-index of 1 is sufficient. Keeping it below #compose's z-index
+ (4) also ensures that when the message edit box is resized over
+ the compose box, its scroll arrows--which share a stacking
+ context with #compose--don't paint on top of it. */
+ z-index: 1;
display: flex;
align-items: center;