vendor/assets/stylesheets/spectre/_tables.scss in spectre_scss-0.4.5.0 vs vendor/assets/stylesheets/spectre/_tables.scss in spectre_scss-0.4.6.0
- old
+ new
@@ -11,28 +11,36 @@
background: $bg-color;
}
}
}
- &.table-hover {
+ &,
+ &.table-striped {
tbody {
tr {
- &:hover {
+ &.active {
background: $bg-color-dark;
}
}
}
}
- &,
- &.table-striped {
+ &.table-hover {
tbody {
tr {
- &.active {
+ &:hover {
background: $bg-color-dark;
}
}
}
+ }
+
+ // Tables with horizontal scrollbar
+ &.table-scroll {
+ display: block;
+ overflow-x: auto;
+ padding-bottom: .75rem;
+ white-space: nowrap;
}
td,
th {
border-bottom: $border-width solid $border-color;