fix(frontend): fix tabs height (#1315)

This commit is contained in:
Faton Ramadani
2023-03-21 23:15:22 +01:00
committed by GitHub
parent bba09fdaeb
commit 0086f99dcc
@@ -130,7 +130,9 @@
subGridId={`${id}-${i}`}
class={css?.container?.class}
style={css?.container?.style}
containerHeight={componentContainerHeight - tabHeight}
containerHeight={kind !== 'sidebar' && $mode !== 'preview'
? componentContainerHeight - tabHeight
: componentContainerHeight}
on:focus={() => {
$selectedComponent = id
}}