mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 02:01:52 +02:00
fix menu
This commit is contained in:
parent
55616ef1f2
commit
74b56e1ae3
File diff suppressed because one or more lines are too long
@ -154,14 +154,25 @@ $color-nav-child-focus: #6DA1BB;
|
||||
flex-flow: column;
|
||||
position: absolute;
|
||||
top: 36px;
|
||||
left: -10px;
|
||||
min-width: 160px;
|
||||
max-width: 240px;
|
||||
overflow-y: auto;
|
||||
height: calc(100vh - 36px);
|
||||
|
||||
& > li {
|
||||
&:first-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
&.focus > a {
|
||||
background: $color-nav-bg;
|
||||
}
|
||||
|
||||
&:hover > a {
|
||||
background: $color-nav-bg;
|
||||
}
|
||||
|
||||
> a {
|
||||
border: none;
|
||||
overflow: hidden;
|
||||
@ -175,6 +186,7 @@ $color-nav-child-focus: #6DA1BB;
|
||||
position: static;
|
||||
border: $border-nav;
|
||||
border-width: 1px 0;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user