Fix layout bug

This commit is contained in:
Martin McKeaveney 2020-02-24 17:35:15 +00:00 committed by GitHub
parent e88d3e821a
commit 94fb7d0663
1 changed files with 7 additions and 6 deletions

View File

@ -16,11 +16,12 @@
})
</script>
<div
class="budibase__nav-item"
<div>
<div
on:click={() => store.selectExistingNode(node.nodeId)}
class="budibase__nav-item"
style="padding-left: {20 + level * 20}px"
class:selected={navActive}>
<div style="padding-left: {20 + level * 20}px">
{@html getIcon(icon, 12)}
<span style="margin-left: 1rem">{node.name}</span>
</div>