Merge "Use ems for mobile surface font sizes, and add top/bottom spacing"

This commit is contained in:
jenkins-bot 2017-02-28 18:30:22 +00:00 committed by Gerrit Code Review
commit 0070838981
2 changed files with 6 additions and 2 deletions

View file

@ -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;

View file

@ -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;
}