Skip to content

Commit

Permalink
style: encode filter state in bin label
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Mar 30, 2021
1 parent 56cd477 commit 6d364a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/components/src/components/Histogram.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@
text-align: center;
}

.lt-histogram-bin[data-label][data-filtered="true"]::before,
.lt-histogram-bin[data-label][data-filtered="mustNot"]::before {
text-decoration: line-through;
}
.lt-histogram-bin[data-label][data-filtered="must"]::before {
font-weight: bold;
}

.lt-histogram-bin-dense {
margin-right: 0;
}

0 comments on commit 6d364a1

Please sign in to comment.