From a75f5b35f21110d1c0b217814f41048128208ef7 Mon Sep 17 00:00:00 2001 From: Lucio Chen Date: Thu, 2 Apr 2026 03:28:57 -0700 Subject: [PATCH] Fix action button sizing and add QR modal to admin dashboard - Normalize Edit/QR/Del button sizes in role=group with consistent padding, font-size, and white-space:nowrap - Add QR button to each link row in My Links and Anonymous Links tables - QR modal uses + qr.min.js to generate an inline SVG on click Co-Authored-By: Claude Sonnet 4.6 --- internal/server/static/style.css | 9 +++++++-- internal/server/templates/admin.html | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/internal/server/static/style.css b/internal/server/static/style.css index 7d8ccf1..7939500 100644 --- a/internal/server/static/style.css +++ b/internal/server/static/style.css @@ -62,8 +62,13 @@ table td { display: flex; } -[role="group"] form button { - height: 100%; +[role="group"] a[role="button"], +[role="group"] form button, +[role="group"] button { + padding: 0.25rem 0.5rem; + font-size: 0.85rem; + margin: 0; + white-space: nowrap; } h1 a { diff --git a/internal/server/templates/admin.html b/internal/server/templates/admin.html index 42fe011..16c45a8 100644 --- a/internal/server/templates/admin.html +++ b/internal/server/templates/admin.html @@ -92,6 +92,7 @@
Edit +
@@ -143,6 +144,7 @@
Edit + @@ -166,10 +168,27 @@ + +
+
+ +

QR Code

+
+
+
+
+