From 10d24fa04bb6baeadb23635ddac2e84aff343aa8 Mon Sep 17 00:00:00 2001 From: tetuaoro Date: Wed, 10 Jul 2024 18:07:12 +0200 Subject: [PATCH] fix: icons & buttons view * update the viewBox of svg elements * add cursor pointer when hover the restore button * rebuild the css --- src/lib/Server.js | 4 +- src/www/css/app.css | 8 ++-- src/www/index.html | 101 +++++++++++++++++++------------------------- 3 files changed, 49 insertions(+), 64 deletions(-) diff --git a/src/lib/Server.js b/src/lib/Server.js index 315679c3..d995bb69 100644 --- a/src/lib/Server.js +++ b/src/lib/Server.js @@ -265,7 +265,7 @@ module.exports = class Server { }); }; - // import_export + // backup_restore const router3 = createRouter(); app.use(router3); @@ -293,7 +293,7 @@ module.exports = class Server { getMeta: async (id) => { const filePath = safePathJoin(publicDir, id); - const stats = await stat(filePath).catch(() => { }); + const stats = await stat(filePath).catch(() => {}); if (!stats || !stats.isFile()) { return; } diff --git a/src/www/css/app.css b/src/www/css/app.css index b64e1d91..472b2ac8 100644 --- a/src/www/css/app.css +++ b/src/www/css/app.css @@ -668,10 +668,6 @@ video { top: 1rem; } -.-z-\[1\] { - z-index: -1; -} - .z-0 { z-index: 0; } @@ -1462,6 +1458,10 @@ video { border-bottom-width: 0px; } +.hover\:cursor-pointer:hover { + cursor: pointer; +} + .hover\:border-red-800:hover { --tw-border-opacity: 1; border-color: rgb(153 27 27 / var(--tw-border-opacity)); diff --git a/src/www/index.html b/src/www/index.html index 345ccb74..314e7fbe 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -3,7 +3,7 @@ WireGuard - + @@ -23,50 +23,45 @@

- WireGuard + WireGuard

-