This commit is contained in:
Jeremy Thomas 2017-05-05 11:08:53 +01:00
parent a3748c5cac
commit 446bcfb777
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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;
} }

View File

@ -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