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

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
1 changed files with 13 additions and 2 deletions

View File

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