mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Be more selective in application of 0.8em font size"
This commit is contained in:
commit
b488dbeb8b
|
@ -5,6 +5,14 @@
|
|||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
.ve-init-mw-viewPageTarget-surface,
|
||||
.ve-init-mw-viewPageTarget-toolbar,
|
||||
.ve-init-target > .ve-ui-debugBar,
|
||||
.ve-ui-overlay-global {
|
||||
/* Enforce different font-size for all UI elements of VisualEditor */
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.ve-init-mw-viewPageTarget-surface {
|
||||
/*
|
||||
In order to allow placing the text cursor to the start or end of the text by
|
||||
|
@ -23,12 +31,6 @@
|
|||
padding: 0 1.143em; /* surface-margin-left (1em) / (mw-body-content font-size) 0.875em */
|
||||
}
|
||||
|
||||
.ve-init-target,
|
||||
.ve-ui-overlay-global {
|
||||
/* Enforce different font-size for all UI elements of VisualEditor */
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.ve-init-target .mw-body-content,
|
||||
.ve-ui-overlay-global .mw-body-content {
|
||||
/* Match skin's font-size for the surface content */
|
||||
|
|
Loading…
Reference in a new issue