Fix indentation level in screen and layout trees
This commit is contained in:
parent
d223515d6c
commit
e16e909c65
|
@ -71,7 +71,7 @@
|
|||
on:drop={dragDropStore.actions.drop}
|
||||
text={isScreenslot(component._component) ? 'Screenslot' : component._instanceName}
|
||||
withArrow
|
||||
indentLevel={level + 3}
|
||||
indentLevel={level + 1}
|
||||
selected={$store.selectedComponentId === component._id}>
|
||||
<ComponentDropdownMenu {component} />
|
||||
</NavItem>
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
</NavItem>
|
||||
{#if selectedScreen?._id === screenId}
|
||||
<ComponentTree
|
||||
level={1}
|
||||
components={selectedScreen.props._children}
|
||||
currentComponent={$selectedComponent}
|
||||
{dragDropStore} />
|
||||
|
|
Loading…
Reference in New Issue