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))
|
window.addEventListener("popstate", this.onPopState.bind(this))
|
||||||
|
|
||||||
this.requestIdleCallback(this.onIdle.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) {
|
requestIdleCallback(func: Function) {
|
||||||
|
@ -9,10 +9,11 @@ body
|
|||||||
height 100%
|
height 100%
|
||||||
color text-color
|
color text-color
|
||||||
background-color bg-color
|
background-color bg-color
|
||||||
|
font-size 1.05rem
|
||||||
|
|
||||||
> 1400px
|
.osx
|
||||||
body
|
body
|
||||||
font-size 105%
|
font-size 1rem
|
||||||
|
|
||||||
a
|
a
|
||||||
color link-color
|
color link-color
|
||||||
|
Loading…
Reference in New Issue
Block a user