Fix sub grid (#1302)

* fix(frontend): fix horizontal splitpanes

* fix(frontend): fix subgrid height

* fix(frontend): fix subgrid height
This commit is contained in:
Faton Ramadani
2023-03-17 15:56:26 +01:00
committed by GitHub
parent ea3dab411b
commit c1e43de4ea
@@ -79,13 +79,12 @@
'overflow-auto',
noYPadding ? '' : 'py-2',
classes ?? '',
noPadding ? 'px-0' : 'px-2',
containerHeight ? `h-[${containerHeight}px}]` : 'h-full'
noPadding ? 'px-0' : 'px-2'
)}
on:pointerdown|stopPropagation={onpointerdown}
on:pointerleave={onpointerup}
on:pointerup={onpointerup}
style={style ?? ''}
style="height: {containerHeight}px; {style ?? ''}"
>
{#if $mode !== 'preview'}
<div class={highlight ? 'border-gray-400 border border-dashed min-h-full' : ''}>