Skip to content

Commit

Permalink
Fix cursor pointer on expandable items
Browse files Browse the repository at this point in the history
  • Loading branch information
aoelen committed Jun 27, 2019
1 parent eba3541 commit 12886a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/AddPaper/Contributions/styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ export const StyledStatementItem = styled(ListGroupItem)`
background-color: ${props => props.theme.ultraLightBlue} !important;
border-color: ${props => props.theme.ultraLightBlueDarker} !important;
&.selectable {
cursor: pointer;
}
& > .statementItemIcon {
font-size: 18px;
margin-top: 3px;
Expand Down
1 change: 1 addition & 0 deletions src/components/StatementBrowser/StatementItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class StatementItem extends Component {
const listGroupClass = classNames({
'statementActive': isCollapsed,
'statementItem': true,
'selectable': true,
'rounded-bottom': this.props.isLastItem && !isCollapsed && !this.props.enableEdit,
});

Expand Down

0 comments on commit 12886a7

Please sign in to comment.