Badges: PVC wrapper hugs card tightly; hide 'Front of badge' label when single-sided

This commit is contained in:
Scott Idem
2026-03-12 16:05:08 -04:00
parent 7b340de139
commit b4ab60ebba
3 changed files with 16 additions and 7 deletions

View File

@@ -25,8 +25,13 @@
/* outline: thick solid orange; */
}
/* Body area: 5.5in total ~1in header ~0.5in footer = ~4in for content.
Same as the current Tailwind default — no body override needed. */
/* No .badge_back rules — duplex=0 on the template means the back section
is not rendered at all (see show_badge_back in ae_comp__badge_obj_view.svelte). */
/* Outer wrapper: remove the generic 4×6 fanfold defaults so the blue dashed
outline hugs the card tightly. The badge_front CSS above supplies the exact
3.5×5.5in size; wrapper just needs to fit it with no extra space. */
[data-layout="badge_3.5x5.5_pvc"].event_badge_wrapper {
padding: 0;
gap: 0;
min-height: 0;
width: fit-content;
max-width: fit-content;
}