Skip to content

Commit

Permalink
Merge pull request #8 from jayclassless/navbar_right_fixes
Browse files Browse the repository at this point in the history
Fixed some issues with .navbar-right
  • Loading branch information
morteza committed Jun 13, 2014
2 parents 7bc2588 + f19f59f commit 8d2d938
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Template:
### Contributors:

2013/08/02, morteza, Morteza Ansarinia, [email protected]
2014/06/13, jayclassless, Jason Simeone, [email protected]

17 changes: 14 additions & 3 deletions less/navbar-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,20 @@
float: right;
}

&.navbar-right:last-child {
margin-left: -@navbar-padding-horizontal;
margin-right: auto;
&.navbar-right {
&:last-child {
margin-left: -@navbar-padding-horizontal;
margin-right: auto;
}

&.flip {
float: left !important;
}

.dropdown-menu {
left: 0;
right: auto;
}
}
}
}
Expand Down

0 comments on commit 8d2d938

Please sign in to comment.