Fix style of DND navigation

This commit is contained in:
Andrew Kingston 2020-11-05 11:58:39 +00:00
parent 7bb3607d25
commit 4754f7e0b9
1 changed files with 3 additions and 3 deletions

View File

@ -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>