Only set a font-size in the root

No need to select `html` and `body` when trying to override it.

Issue: #5735
This commit is contained in:
simurai 2015-02-26 12:07:51 +09:00
parent c9ce9f41c2
commit 2dcdbb5a92
2 changed files with 10 additions and 2 deletions

View File

@ -21,3 +21,8 @@ h5,
h6 {
font-family: inherit; // inherit from themes
}
body {
font-family: inherit; // inherit from html
font-size: inherit; // inherit from html
}

View File

@ -3,13 +3,16 @@
@font-face { .octicon-font(); }
html {
font-family: @font-family;
font-size: @font-size;
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
font-family: @font-family;
font-size: @font-size;
}
atom-workspace {