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