Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rrpgLink_FrontEnd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kesaubeeire
rrpgLink_FrontEnd
Commits
5f0f7a8c
Commit
5f0f7a8c
authored
Oct 21, 2023
by
KesaubeEire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 给 tag 添加原始文本的 hover tip.
parent
215c53cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
src/components/card.svelte
src/components/card.svelte
+8
-6
No files found.
src/components/card.svelte
View file @
5f0f7a8c
...
@@ -106,12 +106,14 @@
...
@@ -106,12 +106,14 @@
<!-- <div class="badge badge-outline">tag2</div> -->
<!-- <div class="badge badge-outline">tag2</div> -->
{:else}
{:else}
{#each tags as tag}
{#each tags as tag}
<div
<div class="tooltip" data-tip={tag}>
class="badge badge-outline cursor-pointer hover:bg-neutral hover:text-neutral-content"
<div
on:click={p_searchTag(tag)}
class="badge badge-outline cursor-pointer hover:bg-neutral hover:text-neutral-content"
on:keypress={() => {}}
on:click={p_searchTag(tag)}
>
on:keypress={() => {}}
{getTransTag(tag) ?? tag}
>
{getTransTag(tag) ?? tag}
</div>
</div>
</div>
{/each}
{/each}
{/if}
{/if}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment