Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
khushiagl committed Jul 31, 2023
1 parent 1f20110 commit b05a898
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/Components/criteria_filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class CriteriaFilter extends React.Component {
<div className={"criterion-title"}>
<span>{criterion}</span>
<div
className={"float-right"}
className={"float-right clickable"}
onClick={() => this.props.onDeleteCriterion(criterion)}
data-testid={"remove-criterion"}
>
Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/common/_criteria_filter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
margin-bottom: 10px;
width: $dropdown-horizontal - 10px;

.clickable {
cursor: pointer;
}

span {
display: inline-block;
max-width: 150px;
Expand Down

0 comments on commit b05a898

Please sign in to comment.