Hide scrollbar on Windows Chrome

This commit is contained in:
2023-06-26 20:24:48 +08:00
parent 5108526b2f
commit 3b2b8bf300
6 changed files with 47 additions and 6 deletions

View File

@@ -214,3 +214,9 @@ body {
.mdc-top-app-bar__section--align-end>* {
margin: 0 5px;
}
.task_manager .new_task {
position: fixed;
right: 50px;
bottom: 50px;
}

View File

@@ -0,0 +1,3 @@
html::-webkit-scrollbar {
display: none;
}

View File

@@ -27,7 +27,11 @@ self.addEventListener("activate", (event: ActivateEvent) => {
event.waitUntil(deleteOldCaches());
});
const CACHES = ["/common.css", "/preact-material-components/style.css"];
const CACHES = [
"/common.css",
"/hide-scrollbar.css",
"/preact-material-components/style.css",
];
function match_url(u: URL) {
const pn = u.pathname;