Skip to content

Commit 16c773a

Browse files
committed
fix: show full template preview without aspect-ratio cropping
1 parent 211cc1b commit 16c773a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

app/src/components/TemplateCard.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,18 @@ onMounted(async () => {
7171
7272
.template-card__preview {
7373
width: 100%;
74-
aspect-ratio: 16 / 9;
7574
background: var(--mp-bg3);
7675
overflow: hidden;
7776
position: relative;
7877
display: flex;
79-
align-items: center;
78+
align-items: flex-start;
8079
justify-content: center;
8180
}
8281
8382
.template-card__render {
8483
zoom: 0.25;
8584
pointer-events: none;
86-
transform-origin: center center;
85+
transform-origin: top center;
8786
}
8887
8988
.template-card__placeholder {

0 commit comments

Comments
 (0)