FIX: improves icon alignment

the mobile icon has a higher height than other icons, given we want a total 30px height and we apply a 5px top and bottom padding, the icon can be at most 20px height
This commit is contained in:
Joffrey JAFFEUX 2017-10-31 23:14:14 -07:00 committed by GitHub
parent deb79a8fff
commit 9c5ad4648f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 8 deletions

View File

@ -88,21 +88,27 @@
}
.nav.target {
margin-top: 15px;
li {
position: relative;
a {
display: flex;
align-items: center;
justify-content: space-between;
}
}
margin-top: 15px;
.fa {
margin-left: 3px;
}
li.mobile a {
padding-right: 25px;
margin-left: 8px;
}
.d-icon-mobile {
position: absolute;
right: 10px;
top: 3px;
position: relative;
top: -3px;
font-size: 1.5em;
max-height: 20px;
}
}