From b33966b26eac839af8a643a06e623bad5a33fba7 Mon Sep 17 00:00:00 2001 From: grabowski Date: Tue, 7 Apr 2026 11:43:32 +0700 Subject: [PATCH] Fix empty label preview: use inline styles to avoid Tailwind reset conflicts Moved all label styling to inline styles with explicit color: black and background: white so dark mode and Tailwind resets can't hide content. Print styles use :global() scoped selectors. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../(app)/components/[id]/print/+page.svelte | 62 +++++++++--------- .../(app)/devices/[id]/print/+page.svelte | 64 +++++++++---------- 2 files changed, 64 insertions(+), 62 deletions(-) diff --git a/src/routes/(app)/components/[id]/print/+page.svelte b/src/routes/(app)/components/[id]/print/+page.svelte index 23b9e01..595745a 100644 --- a/src/routes/(app)/components/[id]/print/+page.svelte +++ b/src/routes/(app)/components/[id]/print/+page.svelte @@ -18,31 +18,6 @@ Print Label - {data.component.title} -
@@ -69,16 +44,13 @@
{#each Array(copies) as _, i} -