Skip to content

Commit a6451cf

Browse files
Fix formatting
1 parent 1a0ed4f commit a6451cf

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

frontend/src/components/panels/Document.svelte

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,13 @@
533533
y={cursorTop}
534534
/>
535535
{/if}
536-
<div class:viewport={!$appWindow.viewportHolePunch} class:viewport-transparent={$appWindow.viewportHolePunch} on:pointerdown={(e) => canvasPointerDown(e)} bind:this={viewport} data-viewport>
536+
<div
537+
class:viewport={!$appWindow.viewportHolePunch}
538+
class:viewport-transparent={$appWindow.viewportHolePunch}
539+
on:pointerdown={(e) => canvasPointerDown(e)}
540+
bind:this={viewport}
541+
data-viewport
542+
>
537543
{#if !$appWindow.viewportHolePunch}
538544
<svg class="artboards" style:width={canvasWidthCSS} style:height={canvasHeightCSS}>
539545
{@html artworkSvg}
@@ -762,7 +768,8 @@
762768
background: var(--color-2-mildblack);
763769
}
764770
765-
.viewport, .viewport-transparent {
771+
.viewport,
772+
.viewport-transparent {
766773
width: 100%;
767774
height: 100%;
768775
// Allows the SVG to be placed at explicit integer values of width and height to prevent non-pixel-perfect SVG scaling

0 commit comments

Comments
 (0)