feat: move copy pill next to title

This commit is contained in:
Arman committed 2022-06-28 14:51:03 +02:00
1 parent bcf17bafd9
commit d4cfa5a0c4
1 file changed
+11 -7
+11 -7
View File
@@ -92,17 +92,21 @@
<span class="icon-cheveron-left" aria-hidden="true" />
</a>
<span class="text"> {$title}</span>
{#if $copyData?.value}
<Pill button on:click={() => copy($copyData.value)}
><i class="icon-duplicate" />{$copyData.text}
</Pill>
{/if}
{:else}
<span class="text"> {$title}</span>
{#if $copyData?.value}
<Pill button on:click={() => copy($copyData.value)}
><i class="icon-duplicate" />{$copyData.text}
</Pill>
{/if}
{/if}
</svelte:fragment>
{#if $copyData?.value}
<div class="top-cover-option">
<Pill button on:click={() => copy($copyData.value)}
><i class="icon-duplicate" />{$copyData.text}
</Pill>
</div>
{/if}
{#if $tabs.length}
<div class="tabs">
{#if showLeft}