Skip to content

Commit

Permalink
Style fixes in RatingsFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
metagrover committed Mar 2, 2017
1 parent 6546ff2 commit b635b86
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
top: -5px; }
.rbc.rbc-ratingsfilter .rbc-label:hover {
color: #424242; }
.rbc.rbc-ratingsfilter .rbc-label.active {
.rbc.rbc-ratingsfilter .rbc-label.rbc-active {
font-family: "Lato Bold";
color: #333; }

Expand Down
2 changes: 1 addition & 1 deletion app/assets/styles/partials/components/_ratingsfilter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
color: #424242;
}

&.active {
&.rbc-active {
font-family: $font-bold;
color: #333;
}
Expand Down
2 changes: 1 addition & 1 deletion app/sensors/RatingsFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default class RatingsFilter extends Component {
});

buttons = this.props.data.map((record) => {
const cx = selectedItem === record.start ? "active" : "";
const cx = selectedItem === record.start ? "rbc-active" : "";
return (
<div className="rbc-list-item row" key={record.label} onClick={() => this.handleChange(record)}>
<label className={`rbc-label ${cx}`}>
Expand Down
2 changes: 1 addition & 1 deletion dist/css/style.min.css

Large diffs are not rendered by default.

0 comments on commit b635b86

Please sign in to comment.