No need to work on the first-child, work on the li directly

This commit is contained in:
Yuki 2015-04-22 03:55:11 +05:30
parent 1600cdf295
commit 1625ad6236
1 changed files with 21 additions and 31 deletions

View File

@ -134,7 +134,6 @@
} }
nav.navbar .nav > li:not(.profile--image-dropdown) { nav.navbar .nav > li:not(.profile--image-dropdown) {
& > *:first-child {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
position: relative; position: relative;
@ -159,17 +158,8 @@ nav.navbar .nav > li:not(.profile--image-dropdown) {
height: 4px height: 4px
} }
} }
}
&.active *:first-child:before { &.active:before {
height: 4px; height: 4px;
} }
& > .btn {
line-height: 50px;
width: 44px;
margin: 0;
border: 0;
padding: 0;
}
} }