mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Use ems for mobile surface font sizes, and add top/bottom spacing"
This commit is contained in:
commit
0070838981
|
@ -9,6 +9,10 @@
|
|||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.ve-init-mw-target-surface {
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.ve-init-mw-target-surface .ve-ce-documentNode,
|
||||
.ve-init-mw-target-surface .ve-ui-surface-placeholder {
|
||||
padding: 0;
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
*/
|
||||
|
||||
.ve-ui-mwWikitextSurface .ve-ce-documentNode {
|
||||
font-size: 13.3333px;
|
||||
font-size: 1.17216em; /*(13.3333/11.375)*/
|
||||
/* Inherit mw-editfont setting instead of default source mode setting */
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.ve-ui-mwWikitextSurface .ve-ce-paragraphNode {
|
||||
line-height: 20px;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue