From 4dc3329679120add28d0a5bf18a87fde476a4aee Mon Sep 17 00:00:00 2001 From: Kieran Klukas Date: Thu, 18 Dec 2025 17:04:44 -0500 Subject: [PATCH] feat: better viewer mode ui --- src/index.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index 85ce1d7..b5440b7 100644 --- a/src/index.html +++ b/src/index.html @@ -159,6 +159,10 @@ font-size: 0.6875rem; } + .viewer-shortcut { + display: none; + } + .form-section { margin-bottom: 2rem; } @@ -285,7 +289,7 @@ } .table-section { - margin-top: 3rem; + margin-top: 0; } .table-controls { @@ -420,6 +424,9 @@
+
+ cmd+k focus • cmd+/ search • cmd+l logout +

// existing urls

@@ -607,8 +614,8 @@ function applyViewerMode() { if (userRole === 'viewer') { - // Hide the shorten form document.querySelector('.form-section').style.display = 'none'; + document.querySelector('.viewer-shortcut').style.display = 'block'; } } -- 2.51.2