From bcda074b053022a6ec7eb413ea55bd39c9a926ce Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Tue, 9 Jun 2026 17:12:15 +0200 Subject: [PATCH] Aligned scrollbar with the theme + reduced btn for mobile --- frontend/aliases.html | 69 ++++++++++++++++++++++++++++------------- frontend/css/layout.css | 14 ++++----- 2 files changed, 54 insertions(+), 29 deletions(-) diff --git a/frontend/aliases.html b/frontend/aliases.html index f957687..da4e7b5 100644 --- a/frontend/aliases.html +++ b/frontend/aliases.html @@ -36,26 +36,51 @@ Network Manager - -
- - + + +
+ +
+
Network Manager
+ + +
+ +
+ +
+
@@ -104,7 +129,7 @@ -
+
-
+
@@ -135,7 +160,7 @@ aria-label="Reload DHCP" data-action="reloadDhcp"> - Reload DHCP + Reload DHCP diff --git a/frontend/css/layout.css b/frontend/css/layout.css index 83403ba..3de77e7 100644 --- a/frontend/css/layout.css +++ b/frontend/css/layout.css @@ -372,6 +372,8 @@ i.bi { background-color: #fff; -webkit-overflow-scrolling: touch; border: 1px solid var(--border-light); + scrollbar-width: thin; + scrollbar-color: var(--accent) transparent; } .table { @@ -682,16 +684,14 @@ td.actions { } .btn { - padding-left: 0.6rem; - padding-right: 0.6rem; display: inline-flex; align-items: center; justify-content: center; - } - - /* Toolbar: su schermi molto stretti mostra solo le icone dei bottoni */ - .btn .label { - display: none; + min-width: 34px; + min-height: 32px; + padding: 0.30rem 0.55rem; + font-size: 0.95rem; + line-height: 1; } .btn .icon, -- 2.47.3