SYNC: diagram settings more visible

This commit is contained in:
SPRINX0\prochazka
2025-03-28 12:50:02 +01:00
committed by Diflow
parent 7640c3d0ef
commit 2899373e42
4 changed files with 187 additions and 22 deletions

View File

@@ -3,6 +3,7 @@
export let hideContent = false;
export let fixedWidth = 0;
export let skipDefineWidth = false;
export function scrollTop() {
domDiv.scrollTop = 0;
@@ -13,7 +14,7 @@
on:drop
bind:this={domDiv}
class:hideContent
class:leftFixedWidth={!fixedWidth}
class:leftFixedWidth={!fixedWidth && !skipDefineWidth}
data-testid={$$props['data-testid']}
style:width={fixedWidth ? `${fixedWidth}px` : undefined}
>