hiding scrollbars globally now and sorting notifications before rendering

This commit is contained in:
2026-09-09 20:30:25 +02:00
parent 2ca90f45fa
commit d91662c6a7
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -26,6 +26,11 @@
box-sizing: border-box;
margin: 0;
padding: 0;
scrollbar-width:none;
-ms-overflow-style:none;
}
*::-webkit-scrollbar{
display:none;
}
+3 -1
View File
@@ -92,7 +92,9 @@ function renderNotifications() {
let html = ``;
Object.entries(notifications).forEach(([nid, n]) => {
Object.entries(notifications)
.sort((a, b) => new Date(b[1].time) - new Date(a[1].time))
.forEach(([nid, n]) => {
html += `<p id="notification-${nid}" class="notification-title `;
switch (n.status) {
case "info":