fix: stuff

This commit is contained in:
2026-02-27 17:54:09 +08:00
parent e22a8da12a
commit 8cf27b3aa7
2 changed files with 25 additions and 4 deletions
+2 -2
View File
@@ -36,11 +36,11 @@ export function CardPreview(props: CardPreviewProps) {
let cardRef: HTMLDivElement | undefined;
return (
<div class="flex justify-center overflow-hidden">
<div class="flex justify-center">
<Show when={store.state.activeTab < store.state.cards.length}>
<div
ref={cardRef}
class="relative bg-white border border-gray-300 shadow-lg"
class="relative bg-white border border-gray-300 shadow-lg overflow-hidden"
style={{
width: `${store.state.dimensions?.cardWidth}mm`,
height: `${store.state.dimensions?.cardHeight}mm`