Skip to content

Commit

Permalink
Replaced clickable span for button
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Dec 27, 2023
1 parent 82c6ba0 commit 9e1b985
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/frontend/FolderSelection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,19 @@
<List singleSelection>
<Separator />
<Subheader>
<span
<button
class="breadcrumb"
type="button"
on:click={rootNavigation}
on:keydown={rootNavigation}
>
{$_("drive.driveList")}
</span>
</button>
{#each path as segment (segment.id)}
&nbsp; &gt; &nbsp;
<span
<button
class="breadcrumb"
type="button"
on:click={() => {
breadcrumbNavigation(segment);
}}
Expand All @@ -115,7 +117,7 @@
}}
>
{segment.name}
</span>
</button>
{/each}
</Subheader>
<Separator />
Expand All @@ -141,7 +143,10 @@

<style lang="scss">
.breadcrumb {
border: none;
background-color: unset;
cursor: pointer;
color: var(--mdc-theme-primary);
font-size: 1rem;
}
</style>

0 comments on commit 9e1b985

Please sign in to comment.