From ba7c1e4cdc8570e6811730356b15d529281dcc2d Mon Sep 17 00:00:00 2001 From: Padreug Date: Thu, 4 Jun 2026 23:34:42 +0200 Subject: [PATCH] revert: move scan counts back above the tabs + fix tab centering Reverts 1aeea23 and folds in the actual fix the relocation was chasing: the Scanner / Scanned tab labels were rendering with their icons and text mis-aligned because TabsTrigger wraps its slot in an inline ``. A `gap-1.5` on TabsTrigger never reached the icon/label children. Wrap each trigger's content in an `inline-flex items-center gap-1.5` span so the icon and label share a real flex container. --- src/modules/events/views/ScanTicketsPage.vue | 100 ++++++++++--------- 1 file changed, 53 insertions(+), 47 deletions(-) diff --git a/src/modules/events/views/ScanTicketsPage.vue b/src/modules/events/views/ScanTicketsPage.vue index cd8e8f0..092ea3e 100644 --- a/src/modules/events/views/ScanTicketsPage.vue +++ b/src/modules/events/views/ScanTicketsPage.vue @@ -115,15 +115,62 @@ function fmtTime(iso: string) { {{ event.title }}

+ +
+
+

{{ registeredCount }}

+

Scanned

+
+
+

+ {{ soldCount ?? '—' }} +

+

Sold

+
+
+

+ {{ remainingCount ?? '—' }} +

+

Remaining

+
+
+ + + + - - - Scanner + + + + + Scanner + - - - Scanned ({{ registeredCount }}) + + + + Scanned ({{ registeredCount }}) + @@ -189,47 +236,6 @@ function fmtTime(iso: string) { - -
-
-

{{ registeredCount }}

-

Scanned

-
-
-

- {{ soldCount ?? '—' }} -

-

Sold

-
-
-

- {{ remainingCount ?? '—' }} -

-

Remaining

-
-
- - - -