From 4da9c65f56246698fa5d2e5edee36e791509832f Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Sun, 8 Feb 2026 09:35:04 +0000 Subject: [PATCH] style(account): normalize button styles, labels, and widths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace icon-only delete/revoke buttons with outlined text buttons - Rename: Add Passkey → New Passkey, Create Token → New Token, Download Backup → New Backup, Restore from Backup → Restore, Reset Database → Reset - Add w-full sm:w-auto sm:min-w-44 to all action buttons for consistent sizing on mobile and desktop - Align Cancel buttons to font-medium text-text (Outlined style) --- templates/pages/account.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/templates/pages/account.html b/templates/pages/account.html index 2b0ac38..7c12ce4 100644 --- a/templates/pages/account.html +++ b/templates/pages/account.html @@ -33,11 +33,11 @@ {% if passkeys.len() > 1 %} {% endif %} @@ -74,7 +74,7 @@ @@ -90,10 +90,10 @@ type="button" data-show="!$_showPasskeyForm" data-on:click="$_showPasskeyForm = true; setTimeout(() => document.getElementById('passkey-name').focus(), 50)" - class="inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-semibold text-accent-text transition hover:bg-accent-hover" + class="inline-flex w-full items-center justify-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-semibold text-accent-text transition hover:bg-accent-hover sm:w-auto sm:min-w-44" > {{ icons::key("h-4 w-4") }} - Add Passkey + New Passkey @@ -132,11 +132,11 @@ {% endfor %} @@ -176,7 +176,7 @@ @@ -214,10 +214,10 @@ type="button" data-show="!$_showTokenForm && !$_tokenCreated" data-on:click="$_showTokenForm = true; setTimeout(() => document.getElementById('token-name').focus(), 50)" - class="inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-semibold text-accent-text transition hover:bg-accent-hover" + class="inline-flex w-full items-center justify-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-semibold text-accent-text transition hover:bg-accent-hover sm:w-auto sm:min-w-44" > {{ icons::terminal("h-4 w-4") }} - Create Token + New Token @@ -235,26 +235,26 @@ {{ icons::arrow_down_tray("h-4 w-4") }} - Download Backup + New Backup @@ -299,7 +299,7 @@
-