Fix misalignment of VE and CodeMirror

This commit is contained in:
alistair3149 2020-06-10 22:56:34 -04:00
parent 03d0ac1e66
commit e8d992615d
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -89,15 +89,15 @@
.CodeMirror {
padding: 0 !important;
line-height: @content-line-height; // Lining up syntax highlighter
line-height: @content-line-height !important; // Lining up syntax highlighter
&-code * {
line-height: @content-line-height; // Lining up syntax highlighter
line-height: @content-line-height !important; // Lining up syntax highlighter
}
}
.ve-ui-mwWikitextSurface .ve-ce-paragraphNode {
line-height: @content-line-height; // Lining up syntax highlighter
line-height: @content-line-height !important; // Lining up syntax highlighter
}
}