update NavItem

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-23 11:18:34 +02:00
parent 8a36d81d32
commit 8dc7c98b6e
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,6 @@
<script>
import { Icon } from "@budibase/bbui"
export let icon
export let withArrow = false
export let withActions = true
@ -22,11 +24,12 @@
on:drop
on:click
ondragover="return false"
ondragenter="return false">
ondragenter="return false"
>
<div class="content">
{#if withArrow}
<div class:opened class="icon arrow">
<i class="ri-arrow-right-s-line" />
<Icon s name="ChevronRight" />
</div>
{/if}
@ -51,9 +54,6 @@
transition: background-color
var(--spectrum-global-animation-duration-100, 130ms) ease-in-out;
}
.nav-item.border {
/*border-top: 1px solid var(--grey-2);*/
}
.nav-item.selected {
background-color: var(--grey-2);
color: var(--ink);