feat: move preview to separate column

This commit is contained in:
2026-02-04 01:48:34 +05:00
parent fbaf13294b
commit 475c4b8c96
3 changed files with 47 additions and 76 deletions
+5 -6
View File
@@ -123,15 +123,14 @@
{@const Manager = TextManager.default}
<Manager onTextUpdate={handleTextUpdate} />
{/if}
{:else if $uiStore.currentStep === "preview"}
{#if PanelPreview}
{@const Preview = PanelPreview.default}
<Preview onDownload={handleDownload} />
{/if}
{/if}
</div>
<div class="sidebar">
{#if $uiStore.currentStep === "text" && PanelPreview}
{@const Preview = PanelPreview.default}
<Preview onDownload={handleDownload} />
{/if}
</div>
</div>
</div>
@@ -165,7 +164,7 @@
.app-content {
display: grid;
grid-template-columns: 1fr 350px;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}