Prevents an odd alignment issue in mobile views by forcing the nav
links to be full width without undoing the float.
background-color: transparent;
}
+.navbar-nav.pull-right {
+ width: 100%;
+}
+
.navbar-static-top {
border-radius: 0;
}
}
.navbar-nav.pull-right {
float: right;
+ width: auto;
}
.navbar-toggle {
position: relative;
color: @navbar-link-disabled-color;
background-color: @navbar-link-disabled-bg;
}
+
+ // Right aligned contents
+ // Make them full width first so that they align properly on mobile
+ &.pull-right {
+ width: 100%;
+ }
}
&.pull-right {
float: right;
+ width: auto;
}
}