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.

settings: Fix overflow of playground button on narrow screens.

Tanaya Pawar9313212cfe44
diff --git a/web/styles/settings.css b/web/styles/settings.css
index b1be35264ac..73ec7eb7123 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -237,12 +237,8 @@ h3,
}
}
-#playground-settings {
- #playground_pygments_language,
- #playground_name,
- #playground_url_template {
- width: calc(100% - 10em - 6em);
- }
+#playground-settings .new-playground-form input {
+ width: calc(100% - 10em - 6em);
}
#language_selection_modal {
@@ -2164,7 +2160,10 @@ label.preferences-radio-choice-label {
}
#playground-settings .new-playground-form input {
- width: calc(100% - 20px) !important;
+ width: calc(
+ 100% - 2 * var(--input-horizontal-padding) - 2 *
+ var(--input-border-width)
+ );
}
#playground-settings .new-playground-form label {
@@ -2201,6 +2200,14 @@ label.preferences-radio-choice-label {
min-width: 8em;
}
}
+
+ .add-new-playground-box {
+ .action-button {
+ margin-left: 0;
+ width: 100%;
+ box-sizing: border-box;
+ }
+ }
}
@media (width < $ml_min) {