Better font size for macs
This commit is contained in:
parent
1ab503fc5c
commit
e2772bc2e4
@ -45,6 +45,11 @@ export class AnimeNotifier {
|
||||
window.addEventListener("popstate", this.onPopState.bind(this))
|
||||
|
||||
this.requestIdleCallback(this.onIdle.bind(this))
|
||||
|
||||
// Add "osx" class on macs so we can set a proper font-size
|
||||
if(navigator.platform.includes("Mac")) {
|
||||
document.rootElement.classList.add("osx")
|
||||
}
|
||||
}
|
||||
|
||||
requestIdleCallback(func: Function) {
|
||||
|
@ -9,10 +9,11 @@ body
|
||||
height 100%
|
||||
color text-color
|
||||
background-color bg-color
|
||||
font-size 1.05rem
|
||||
|
||||
> 1400px
|
||||
.osx
|
||||
body
|
||||
font-size 105%
|
||||
font-size 1rem
|
||||
|
||||
a
|
||||
color link-color
|
||||
|
Loading…
Reference in New Issue
Block a user