Fix layout bug

This commit is contained in:
Martin McKeaveney 2020-02-24 17:35:15 +00:00 committed by GitHub
parent cba018d530
commit 2f45702513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

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