mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-12 06:15:27 +00:00
styles: Avoid misalignments when line numbering is disabled
Ref: https://defensivecss.dev/tip/flexbox-min-content-size/ Bug: T381714 Change-Id: Ifedcf62fe7c7d1106433c36140f009c7195f1b72
This commit is contained in:
parent
c3689196ad
commit
6804aca271
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue