mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: move copy pill next to title
This commit is contained in:
1 parent
bcf17bafd9
commit
d4cfa5a0c4
1 file changed
+11
-7
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user