1
0
Fork 0
mirror of synced 2024-10-05 20:44:47 +13:00

fix nav items

This commit is contained in:
Gerard Burns 2023-11-28 10:59:04 +00:00
parent b7a78b035d
commit 868253b74f

View file

@ -78,7 +78,7 @@
{style}
{draggable}
>
<div class="nav-item-content" bind:this={contentRef}>
<div class="nav-item-content" bind:this={contentRef} class:right={rightAlignIcon}>
{#if withArrow}
<div
class:opened
@ -166,12 +166,16 @@
justify-content: flex-start;
align-items: center;
gap: var(--spacing-xs);
width: 100%;
width: max-content;
position: relative;
padding-left: var(--spacing-l);
box-sizing: border-box;
}
.nav-item-content.right {
width: 100%;
}
/* Needed to fully display the actions icon */
.nav-item.scrollable .nav-item-content {
padding-right: 1px;