Fix style of DND navigation
This commit is contained in:
parent
1fdcb81f4b
commit
b8ce20ac4c
|
@ -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…
Reference in New Issue