Allow opening links in a new tab

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-04-27 15:54:53 +02:00
parent 518b821250
commit 1f09d8a2a8
45 changed files with 1009 additions and 984 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
{#each results as result}
<li>
<Link
on:click={modal.hide}
on:afterNavigate={modal.hide}
route={{
resource: "projects",
params: {
+2 -2
View File
@@ -96,7 +96,7 @@
class="item selector"
on:click|stopPropagation={() => (showFonts = !showFonts)}>
<div>Code font</div>
<Icon name={`chevron-${showFonts ? "up" : "down"}`} />
<Icon name={`chevron-${showFonts ? "down" : "right"}`} />
</div>
{#if showFonts}
<div
@@ -112,7 +112,7 @@
style:font-family={font.fontFamily}>
{font.displayName}
{#if isSelectedFont}
<Icon name="checkmark" />
<Icon name="checkmark-small" />
{/if}
</div>
{/each}