mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Fix #728
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# Bulma Changelog
|
# Bulma Changelog
|
||||||
|
|
||||||
|
## 0.4.2
|
||||||
|
|
||||||
|
* Fix #728 selected row on striped table
|
||||||
|
|
||||||
## 0.4.1
|
## 0.4.1
|
||||||
|
|
||||||
* Fix #568 max-width container
|
* Fix #568 max-width container
|
||||||
|
|||||||
@@ -2904,11 +2904,11 @@ input[type="submit"].button {
|
|||||||
padding: 0.25em 0.5em;
|
padding: 0.25em 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table.is-striped tbody tr:nth-child(even) {
|
.table.is-striped tbody tr:not(.is-selected):nth-child(even) {
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table.is-striped tbody tr:nth-child(even):hover {
|
.table.is-striped tbody tr:not(.is-selected):nth-child(even):hover {
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ $table-row-even-hover-background: $white-ter !default
|
|||||||
padding: 0.25em 0.5em
|
padding: 0.25em 0.5em
|
||||||
&.is-striped
|
&.is-striped
|
||||||
tbody
|
tbody
|
||||||
tr
|
tr:not(.is-selected)
|
||||||
&:nth-child(even)
|
&:nth-child(even)
|
||||||
background-color: $table-row-even-background
|
background-color: $table-row-even-background
|
||||||
&:hover
|
&:hover
|
||||||
|
|||||||
Reference in New Issue
Block a user