Skip to content

A platform for community discussion. Free, open, simple.

UX: Adjust code editor height when maximized (#31971)

Arkshine423191ea24a8
diff --git a/app/assets/stylesheets/admin/customize.scss b/app/assets/stylesheets/admin/customize.scss
index 357154f570a..488a5dd9bd1 100644
--- a/app/assets/stylesheets/admin/customize.scss
+++ b/app/assets/stylesheets/admin/customize.scss
@@ -112,6 +112,8 @@
background-color: var(--tertiary-low);
padding: 10px;
margin: 10px 0;
+ white-space: nowrap;
+ overflow-x: auto;
}
.admin-container {
@@ -632,7 +634,11 @@
}
.ace-wrapper {
- height: calc(100vh - 200px);
+ height: calc(100vh - 270px);
+ }
+
+ .edit-main-nav ~ .ace-wrapper {
+ height: calc(100vh - 315px);
}
.wrapper {