mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-06 06:58:04 +08:00
🎨 Command key improvements.
This commit is contained in:
parent
0b5006c614
commit
a9ea191622
@ -62,15 +62,10 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<div class="absolute inset-y-0 right-0 flex items-center pr-3 text-neutral-500">
|
<div class="absolute inset-y-0 right-0 flex items-center pr-4 text-neutral-500">
|
||||||
<div class="flex h-full items-center pointer-events-none gap-x-1">
|
<div class="flex h-full items-center pointer-events-none gap-x-1 font-mono">
|
||||||
{#if shortcutText === 'command'}
|
<Command size={16} />
|
||||||
<Command size={20} />
|
<span>K</span>
|
||||||
<span>K</span>
|
|
||||||
{:else if shortcutText === 'control'}
|
|
||||||
<span>Ctrl</span>
|
|
||||||
<span>K</span>
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user