Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yinzhuang
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xuchentao
yinzhuang
Commits
7e17675a
Commit
7e17675a
authored
Aug 03, 2026
by
xuchentao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: preserve desktop navigation dropdown hover
parent
b902ad30
Pipeline
#442
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
global.css
src/styles/global.css
+1
-0
No files found.
src/styles/global.css
View file @
7e17675a
...
...
@@ -94,6 +94,7 @@ h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 700; lin
.nav-link
[
aria-current
=
"page"
],
.nav-link
:hover
{
color
:
var
(
--primary
);
}
.nav-link
[
aria-current
=
"page"
]
::after
{
position
:
absolute
;
right
:
14px
;
bottom
:
-1px
;
left
:
14px
;
height
:
2px
;
background
:
var
(
--primary
);
content
:
""
;
}
.nav-dropdown
{
position
:
absolute
;
top
:
calc
(
100%
+
10px
);
left
:
50%
;
width
:
220px
;
padding
:
10px
;
background
:
#fff
;
border
:
1px
solid
var
(
--border
);
opacity
:
0
;
pointer-events
:
none
;
transform
:
translate
(
-50%
,
-8px
);
transition
:
.2s
ease
;
box-shadow
:
0
20px
50px
rgba
(
50
,
34
,
27
,
.12
);
}
.nav-dropdown
::before
{
position
:
absolute
;
top
:
-11px
;
right
:
0
;
left
:
0
;
height
:
11px
;
content
:
""
;
}
.nav-item
:hover
.nav-dropdown
,
.nav-item
:focus-within
.nav-dropdown
{
opacity
:
1
;
pointer-events
:
auto
;
transform
:
translate
(
-50%
,
0
);
}
.nav-dropdown
ul
{
margin
:
0
;
padding
:
0
;
list-style
:
none
;
}
.nav-dropdown
a
{
display
:
flex
;
justify-content
:
space-between
;
padding
:
9px
11px
;
color
:
var
(
--text
);
font-size
:
13px
;
}
...
...
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