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.

drafts: Fix draft controls being offscreen on mobile web.

Tim Abbotte083a4bf4653
diff --git a/static/styles/drafts.css b/static/styles/drafts.css
index cb7017f048e..76c286e3a0e 100644
--- a/static/styles/drafts.css
+++ b/static/styles/drafts.css
@@ -95,6 +95,10 @@
border: 0;
}
+ .messagebox-content {
+ padding: 4px 10px 1px;
+ }
+
.messagebox {
cursor: auto;
box-shadow: none;
@@ -104,20 +108,16 @@
line-height: 1;
padding-top: 10px;
padding-bottom: 10px;
+ padding-right: 10px;
margin-left: 0;
}
.draft_controls {
display: inline-block;
- position: absolute;
- top: 9px;
- right: -103px;
+ padding-top: 10px;
+ float: right;
font-size: 0.9em;
- @media (width < $sm_min) {
- right: 0;
- }
-
[data-tippy-root] {
width: max-content;
word-wrap: unset;