diff --git a/resources/ve-cm/ve.ui.CodeMirror.v6.less b/resources/ve-cm/ve.ui.CodeMirror.v6.less index 676b5083..40327006 100644 --- a/resources/ve-cm/ve.ui.CodeMirror.v6.less +++ b/resources/ve-cm/ve.ui.CodeMirror.v6.less @@ -67,6 +67,9 @@ .cm-content { padding: 0; + // T381714: Disable the automatic minimum size, so it can shrink + // See https://www.w3.org/TR/css-flexbox-1/#min-size-auto + min-width: 0; } .CodeMirror-selected {