[Nav UI] Better alignment of items on the expanded menu.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabio Manganiello 2024-03-04 01:05:07 +01:00
parent 41cbe40362
commit 5c9c9f0a61
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -230,10 +230,11 @@ nav {
list-style: none; list-style: none;
a { a {
display: block; display: flex;
color: $nav-fg; color: $nav-fg;
padding: 1em 0.5em; padding: 1em 0.5em;
text-decoration: none; text-decoration: none;
align-items: center;
&:hover { &:hover {
color: $nav-fg; color: $nav-fg;
@ -334,7 +335,11 @@ nav {
& img, i { & img, i {
width: 1.5em; width: 1.5em;
height: 1.5em; height: 1em;
}
i {
padding-left: 0.25em;
} }
} }
} }
@ -366,6 +371,12 @@ nav {
height: auto; height: auto;
} }
li {
a {
display: block;
}
}
a { a {
color: $nav-collapsed-fg; color: $nav-collapsed-fg;
padding: 0.25em 0; padding: 0.25em 0;