Commit 5f0f7a8c authored by KesaubeEire's avatar KesaubeEire

feat: 给 tag 添加原始文本的 hover tip.

parent 215c53cc
......@@ -106,12 +106,14 @@
<!-- <div class="badge badge-outline">tag2</div> -->
{:else}
{#each tags as tag}
<div
class="badge badge-outline cursor-pointer hover:bg-neutral hover:text-neutral-content"
on:click={p_searchTag(tag)}
on:keypress={() => {}}
>
{getTransTag(tag) ?? tag}
<div class="tooltip" data-tip={tag}>
<div
class="badge badge-outline cursor-pointer hover:bg-neutral hover:text-neutral-content"
on:click={p_searchTag(tag)}
on:keypress={() => {}}
>
{getTransTag(tag) ?? tag}
</div>
</div>
{/each}
{/if}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment