mirror of https://github.com/zulip/zulip.git
compose: Adjust alignment and size of Drafts button at smaller widths.
The padding on the sides of the Drafts button is reduced from 5 to 3px at smaller width, so that it's not right up against the textareas when hovered. The text is also aligned to the Send button's edge, like at larger widths.
This commit is contained in:
parent
0b589ac70d
commit
13df423ae1
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue