compose: Move related media queries to zulip.css.

This commit is contained in:
Aman Agrawal 2024-03-19 05:37:26 +00:00 committed by Tim Abbott
parent af25709e30
commit 5f1f0f9eb0
2 changed files with 14 additions and 21 deletions

View File

@ -1347,26 +1347,6 @@ textarea.new_message_textarea,
}
}
@media (width < $xl_min) {
#compose-content {
margin-right: 7px;
}
}
@media (width < $md_min) {
#compose-content {
margin-right: 7px;
margin-left: 7px;
}
}
@media (width < $mm_min) {
#compose-content {
margin-right: 5px;
margin-left: 5px;
}
}
#compose.compose-fullscreen {
z-index: 99;

View File

@ -2446,6 +2446,10 @@ select.invite-as {
/* = (width of button, square with header) * 4 (number of buttons) + 10px extra margin. */
margin-right: calc(var(--header-height) * 4 + 10px);
}
#compose-content {
margin-right: 7px;
}
}
}
@ -2508,6 +2512,10 @@ select.invite-as {
left: 5%;
top: 5%;
}
#compose-content {
margin-left: 7px;
}
}
}
@ -2569,13 +2577,18 @@ select.invite-as {
}
/* We don't want user to experience Zulip below this width since
we don't don't develop features for below this width. */
we don't develop features for below this width. */
body,
html,
.app-main,
.header-main {
min-width: 320px;
}
#compose #compose-content {
margin-right: 5px;
margin-left: 5px;
}
}
#scroll-to-bottom-button-container {