]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Allow is-selected class on <td> and <th> tags (#1380)
authorPhilip White <phil_23@live.co.uk>
Mon, 6 Nov 2017 12:35:05 +0000 (12:35 +0000)
committerJeremy Thomas <bbxdesign@gmail.com>
Mon, 6 Nov 2017 12:35:05 +0000 (12:35 +0000)
* Allow is-active class on <td> and <th> tags

* Fix incorrect selectors

sass/elements/table.sass

index b7222e52fc52bec3f54ae625bdbf380414ea32ac..edcaed8feac23a6e0599200e9168ac5a641204dc 100644 (file)
@@ -41,6 +41,12 @@ $table-striped-row-even-hover-background-color: $white-ter !default
     &.is-narrow
       white-space: nowrap
       width: 1%
+    &.is-selected
+      background-color: $table-row-active-background-color
+      color: $table-row-active-color
+      a,
+      strong
+        color: currentColor
   th
     color: $table-cell-heading-color
     text-align: left