From f08f34ca10f252235c8e81b0e0af500043c39203 Mon Sep 17 00:00:00 2001 From: Dorian Date: Fri, 17 Jul 2026 03:07:30 +0100 Subject: [PATCH] fix(ui): card actions live at the bottom on every screen size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Retire the >=1800px compact-header variant globally (Monitoring Details, Federation Find Nodes/Fleet, Identities Create, VPN Add Device, Network Interfaces Scan WiFi, Tor Restart/Add Service). Tor service rows get a 50/50 Delete|Rotate row underneath — Delete on the left, away from the enable toggle, so no missclicks. Co-Authored-By: Claude Fable 5 --- neode-ui/src/style.css | 18 +----- neode-ui/src/views/server/TorServicesCard.vue | 57 +++++++++++-------- 2 files changed, 35 insertions(+), 40 deletions(-) diff --git a/neode-ui/src/style.css b/neode-ui/src/style.css index 493c6338..839f5e2f 100644 --- a/neode-ui/src/style.css +++ b/neode-ui/src/style.css @@ -79,7 +79,9 @@ select:focus-visible { border-color: rgba(251, 146, 60, 0.4); } -/* Card action placement: keep compact header buttons for genuinely wide layouts. */ +/* Card action placement: actions always live at the bottom of the card as + full-width buttons — same layout on every screen size. The compact header + variants are permanently retired for consistency (desktop == mobile). */ .responsive-card-actions-top, .web5-card-actions-top { display: none; @@ -109,20 +111,6 @@ select:focus-visible { white-space: nowrap; } -@media (min-width: 1800px) { - .responsive-card-actions-top, - .web5-card-actions-top { - display: flex; - } - - .responsive-card-actions-bottom, - .responsive-card-actions-bottom-grid, - .web5-card-actions-bottom, - .web5-card-actions-bottom-grid { - display: none; - } -} - /* Mobile touch targets — ensure tappable elements meet 44px minimum */ @media (max-width: 767px) { button:not(.mode-switcher-btn):not(.sidebar-nav-item):not([class*="w-9"]):not([class*="w-8"]):not([class*="w-7"]):not([class*="w-10"]):not([class*="w-11"]):not([class*="w-12"]) { diff --git a/neode-ui/src/views/server/TorServicesCard.vue b/neode-ui/src/views/server/TorServicesCard.vue index b2c58f48..05350ab9 100644 --- a/neode-ui/src/views/server/TorServicesCard.vue +++ b/neode-ui/src/views/server/TorServicesCard.vue @@ -30,40 +30,47 @@ Refreshing Tor services... -
-
-
-

{{ svc.name }}

- :{{ svc.local_port }} - protocol - auth - open +
+
+
+
+

{{ svc.name }}

+ :{{ svc.local_port }} + protocol + auth + open +
+

{{ svc.onion_address }}

+

Waiting for .onion address...

+

Disabled

-

{{ svc.onion_address }}

-

Waiting for .onion address...

-

Disabled

+
-
- + +
+ -