Skip to content

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

UX: Prevent long toolbars from resizing the column (#17538)

Jarek Radosz6a4a7b1d8828
diff --git a/app/assets/stylesheets/common/d-editor.scss b/app/assets/stylesheets/common/d-editor.scss
index e9b9f526262..5bf86a0399c 100644
--- a/app/assets/stylesheets/common/d-editor.scss
+++ b/app/assets/stylesheets/common/d-editor.scss
@@ -15,6 +15,7 @@
flex: 1;
flex-direction: column;
max-width: 100%;
+ min-width: 0;
}
.d-editor-textarea-wrapper {
@@ -298,6 +299,8 @@
border-bottom: 1px solid var(--primary-low);
width: 100%;
box-sizing: border-box;
+ overflow-x: auto;
+ flex-shrink: 0;
.d-editor-spacer {
height: 1em;