bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Rule precedence issue when using bootstrap-responsive

Open ibrasho opened this issue 14 years ago • 2 comments

The following rule in bootstrap:

 .row-fluid .offset2:first-child {
   margin-left: 17.02127659574468%;
 }

take precedence over this rule in bootstrap-responsive:

@media (max-width: 767px) {
  [class*="span"], .row-fluid [class*="span"] {
    ...
    margin-left: 0;
    ...
  }
}

ibrasho avatar Sep 23 '12 12:09 ibrasho

This gives a div container a margin leading to its content flowing outside the screen.

Adding a specific rule for each .row-fluid .span*:first-child would solve the problem.

ibrasho avatar Sep 23 '12 13:09 ibrasho

Already resolved in 2.1.2-wip.

mdo avatar Oct 01 '12 22:10 mdo