Commit 5f0f7a8c authored by KesaubeEire's avatar KesaubeEire

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

parent 215c53cc
......@@ -106,6 +106,7 @@
<!-- <div class="badge badge-outline">tag2</div> -->
{:else}
{#each tags as 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)}
......@@ -113,6 +114,7 @@
>
{getTransTag(tag) ?? tag}
</div>
</div>
{/each}
{/if}
</div>
......
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