fix(ui): ♿ improve nav links click zone
This commit is contained in:
parent
1621b6ee91
commit
a677bb8adf
|
@ -35,14 +35,18 @@ header nav {
|
|||
align-items: center;
|
||||
|
||||
& > li {
|
||||
padding: var(--_gap-half) var(--_gap);
|
||||
list-style: none;
|
||||
border: var(--_border-size) solid transparent;
|
||||
transition: border var(--_transition-delay) ease;
|
||||
border: var(--_border-size) solid transparent;
|
||||
|
||||
& > a {
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
& > * {
|
||||
padding: var(--_gap-half) var(--_gap);
|
||||
}
|
||||
}
|
||||
|
||||
& > li:hover {
|
||||
|
@ -92,7 +96,6 @@ header details {
|
|||
& li {
|
||||
list-style: none;
|
||||
border: none;
|
||||
padding: var(--_gap) calc(var(--_gap) + 0.29rem);
|
||||
}
|
||||
|
||||
& li:hover {
|
||||
|
@ -101,6 +104,8 @@ header details {
|
|||
|
||||
& a {
|
||||
text-decoration: none;
|
||||
padding: var(--_gap) calc(var(--_gap) + 0.29rem);
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue