Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. // Navbar toggleable
  2. //
  3. // Custom override for collapse plugin in navbar.
  4.  
  5. // scss-lint:disable ImportantRule
  6. .navbar-toggleable {
  7. &-xs {
  8. @include clearfix;
  9. @include media-breakpoint-down(xs) {
  10. .navbar-nav .nav-item {
  11. float: none;
  12. margin-left: 0;
  13. clear:both; // added line
  14. }
  15. }
  16. @include media-breakpoint-up(sm) {
  17. display: block !important;
  18. }
  19. }
  20.  
  21. &-sm {
  22. @include clearfix;
  23. @include media-breakpoint-down(sm) {
  24. .navbar-nav .nav-item {
  25. float: none;
  26. margin-left: 0;
  27. clear:both; // added line
  28. }
  29. }
  30. @include media-breakpoint-up(md) {
  31. display: block !important;
  32. }
  33. }
  34.  
  35. &-md {
  36. @include clearfix;
  37. @include media-breakpoint-down(md) {
  38. .navbar-nav .nav-item {
  39. float: none;
  40. margin-left: 0;
  41. clear:both; // added line
  42. }
  43. }
  44. @include media-breakpoint-up(lg) {
  45. display: block !important;
  46. }
  47. }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement