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.

css: Fix height issue for stream and user group creation forms.

m-e-l-u-h-a-n06f0634ca543
diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css
index 75b86ec97ea..6739386ddcc 100644
--- a/static/styles/subscriptions.css
+++ b/static/styles/subscriptions.css
@@ -675,31 +675,21 @@ h4.user_group_setting_subsection_title {
#groups_overlay,
#subscription_overlay {
- #user-group-creation {
- max-height: calc(100% - 102px);
-
- .user-group-creation-body {
- padding: 15px;
- }
- }
-
- #stream-creation {
- .stream-creation-body {
- height: calc(95vh - 155px);
- padding: 15px;
-
- @media (width < $md_min) {
- height: calc(95vh - 115px);
- }
- }
- }
-
#user-group-creation,
#stream-creation {
overflow: auto;
outline: none;
-webkit-overflow-scrolling: touch;
+ .user-group-creation-body,
+ .stream-creation-body {
+ /*
+ 45px (.subscriptions-header) + 44px (.display-type) + 60px (.modal-footer) + 15px (padding for .simplebar-content)
+ */
+ height: calc(95vh - 164px);
+ padding: 15px 15px 0;
+ }
+
.modal-footer {
position: absolute;
bottom: 0;