Make chrome work-around work in iframes (#9200)

This commit is contained in:
Bram Kragten
2021-05-21 09:09:31 +02:00
committed by GitHub
parent 9328576b55
commit fd9bb4d8cc
10 changed files with 79 additions and 40 deletions

View File

@@ -15,5 +15,11 @@ body {
padding: 0;
height: 100vh;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #111111;
color: #e1e1e1;
}
}
`;
document.head.appendChild(styleEl);