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: Fix alignment of close button in warning banner.

iampranavdhar5b7bb5142f07
diff --git a/static/styles/compose.css b/static/styles/compose.css
index 148abede9a5..6f19b721c6e 100644
--- a/static/styles/compose.css
+++ b/static/styles/compose.css
@@ -248,13 +248,14 @@
.compose_not_subscribed {
padding: 4px 0 4px 0;
display: flex;
- align-items: center;
justify-content: space-between;
+ position: relative;
}
#compose_not_subscribed_close {
- top: 1px;
- right: 10px;
+ top: 0;
+ right: 0;
+ position: absolute;
}
.compose_invite_close,
@@ -275,7 +276,7 @@
.compose_invite_user p,
.compose_not_subscribed p {
- margin: 0;
+ margin: 0 20px;
display: inline-block;
max-width: calc(100% - 100px);
}