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
f2d2e8eb
Commit
f2d2e8eb
authored
Oct 20, 2023
by
KesaubeEire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复导航栏 Button 连续点击容易失败 -> 嵌套样式问题, 已解决
parent
e069575e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/App.svelte
src/App.svelte
+6
-4
No files found.
src/App.svelte
View file @
f2d2e8eb
...
...
@@ -111,19 +111,21 @@
<div class="flex-1 px-2 mx-2">在线RPG分部·里</div>
<div class="flex-none hidden lg:block">
<ul class="menu menu-horizontal">
<!-- DEBUG: 正常情况下隐藏吧 -->
<li><button class="p-3" on:click={() => toast.push('Hello world!')}>TEST TOAST</button></li>
<!-- Navbar menu content here -->
{#each injectText as Item}
<li>
<div class="tooltip tooltip-left" data-tip={Item.hint}>
<div class="
p-3
tooltip tooltip-left" data-tip={Item.hint}>
<button on:mouseenter={Item.hover} on:click={Item.click}>{Item.text}</button>
</div>
</li>
{/each}
<li>
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<div class="dropdown dropdown-left">
<div class="dropdown dropdown-left
p-0
">
<!-- svelte-ignore a11y-label-has-associated-control -->
<label tabindex="0">主题</label>
<label tabindex="0"
class="p-3"
>主题</label>
<ul tabindex="0" class="dropdown-content z-[1] p-2 shadow bg-base-100 rounded-box w-64 h-[70vh] overflow-y-auto">
{#each themes as theme}
<li>
...
...
@@ -140,7 +142,7 @@
{theme}
</div>
<div class="flex h-full flex-shrink-0 flex-wrap gap-1"
data-svelte-h="svelte-dkjulf"
>
<div class="flex h-full flex-shrink-0 flex-wrap gap-1">
<span class="bg-primary w-4 h-4 rounded-box" />
<span class="bg-secondary w-4 h-4 rounded-box" />
<span class="bg-accent w-4 h-4 rounded-box" />
...
...
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