This commit is contained in:
Martin McKeaveney 2020-11-13 10:54:03 +00:00
parent ea09c6e459
commit 44cb577f8a
2 changed files with 3 additions and 9 deletions

View File

@ -39,13 +39,9 @@
class="category"
on:click={() => onCategoryChosen(category, idx)}
class:active={idx === selectedIndex}>
{#if category.icon}
<i class={category.icon} />
{/if}
{#if category.icon}<i class={category.icon} />{/if}
<span>{category.name}</span>
{#if category.isCategory}
<i class="ri-arrow-down-s-line arrow" />
{/if}
{#if category.isCategory}<i class="ri-arrow-down-s-line arrow" />{/if}
</div>
{/each}
</div>

View File

@ -35,9 +35,7 @@
{#if logoUrl}
<img class="logo" alt="logo" src={logoUrl} height="48" />
{/if}
{#if title}
<span>{title}</span>
{/if}
{#if title}<span>{title}</span>{/if}
</a>
<div class="nav__controls">
<div on:click={logOut}>Log out</div>