[Nav UI] Better alignment of items on the expanded menu.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
41cbe40362
commit
5c9c9f0a61
1 changed files with 13 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue