fix(ui): improve nav links click zone

This commit is contained in:
Julien Oculi 2024-02-08 13:50:11 +01:00
parent 1621b6ee91
commit a677bb8adf

View file

@ -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;
}
}