Reduced font size on OSX

This commit is contained in:
Eduard Urbach 2017-07-04 01:25:20 +02:00
parent 7bdf75cb3b
commit a23c9fa9a5
2 changed files with 4 additions and 5 deletions

View File

@ -66,7 +66,7 @@ export class AnimeNotifier {
run() { run() {
// Add "osx" class on macs so we can set a proper font-size // Add "osx" class on macs so we can set a proper font-size
if(navigator.platform.includes("Mac")) { if(navigator.platform.includes("Mac")) {
document.rootElement.classList.add("osx") document.documentElement.classList.add("osx")
} }
// Initiate the elements we need // Initiate the elements we need

View File

@ -3,6 +3,9 @@ html
font-family "Ubuntu", "Trebuchet MS", sans-serif font-family "Ubuntu", "Trebuchet MS", sans-serif
font-size 100% font-size 100%
.osx
font-size 95%
body body
tab-size 4 tab-size 4
overflow hidden overflow hidden
@ -11,10 +14,6 @@ body
background-color bg-color background-color bg-color
font-size 1.05rem font-size 1.05rem
.osx
body
font-size 1rem
a a
color link-color color link-color
text-decoration none text-decoration none