vendor/assets/bower_components/bootstrap/less/tables.less in railsstrap-3.3.1 vs vendor/assets/bower_components/bootstrap/less/tables.less in railsstrap-3.3.2
- old
+ new
@@ -109,11 +109,11 @@
// Zebra-striping
//
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
.table-striped {
- > tbody > tr:nth-child(odd) {
+ > tbody > tr:nth-of-type(odd) {
background-color: @table-bg-accent;
}
}
@@ -131,18 +131,18 @@
// Table cell sizing
//
// Reset default table behavior
table col[class*="col-"] {
- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
float: none;
display: table-column;
}
table {
td,
th {
&[class*="col-"] {
- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
float: none;
display: table-cell;
}
}
}