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;
|
align-items: center;
|
||||||
|
|
||||||
& > li {
|
& > li {
|
||||||
padding: var(--_gap-half) var(--_gap);
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
border: var(--_border-size) solid transparent;
|
|
||||||
transition: border var(--_transition-delay) ease;
|
transition: border var(--_transition-delay) ease;
|
||||||
|
border: var(--_border-size) solid transparent;
|
||||||
|
|
||||||
& > a {
|
& > a {
|
||||||
|
display: inline-block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > * {
|
||||||
|
padding: var(--_gap-half) var(--_gap);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& > li:hover {
|
& > li:hover {
|
||||||
|
@ -92,7 +96,6 @@ header details {
|
||||||
& li {
|
& li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
border: none;
|
border: none;
|
||||||
padding: var(--_gap) calc(var(--_gap) + 0.29rem);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
& li:hover {
|
& li:hover {
|
||||||
|
@ -101,6 +104,8 @@ header details {
|
||||||
|
|
||||||
& a {
|
& a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
padding: var(--_gap) calc(var(--_gap) + 0.29rem);
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue