Browse Source

Fix style of DND navigation

master
Andrew Kingston 6 years ago
parent
commit
b8ce20ac4c
  1. 6
      packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte

6
packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte

@ -129,7 +129,7 @@
ondragover="return false" ondragover="return false"
ondragenter="return false" ondragenter="return false"
class="drop-item" class="drop-item"
style="margin-left: {(level + 1) * 18}px" /> style="margin-left: {(level + 1) * 16}px" />
{/if} {/if}
<NavItem <NavItem
@ -160,7 +160,7 @@
ondragover="return false" ondragover="return false"
ondragenter="return false" ondragenter="return false"
class="drop-item" class="drop-item"
style="margin-left: {(level + ($dragDropStore.dropPosition === 'inside' ? 3 : 1)) * 18}px" /> style="margin-left: {(level + ($dragDropStore.dropPosition === 'inside' ? 3 : 1)) * 16}px" />
{/if} {/if}
</li> </li>
{/each} {/each}
@ -176,6 +176,6 @@
.drop-item { .drop-item {
border-radius: var(--border-radius-m); border-radius: var(--border-radius-m);
height: 32px; height: 32px;
background: var(--blue-light); background: var(--grey-3);
} }
</style> </style>

Loading…
Cancel
Save