Fix indentation level in screen and layout trees
This commit is contained in:
parent
4a8d8f3da9
commit
0f1ae6a28a
|
@ -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