forked from platypush/platypush
[Nav UI] Better alignment of items on the expanded menu.
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;
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue