Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/calendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ class Calendar extends React.Component {
<button
onClick={this.props.onApply}
type="button"
className="btn btn-default btn-block btn-success"
className="btn btn-block btn-success"
>
Apply
</button>
<button
onClick={this.props.onCancel}
type="button"
className="btn btn-default btn-block btn-default"
className="btn btn-default btn-block"
>
Cancel
</button>
Expand Down
4 changes: 2 additions & 2 deletions src/css/sass/monthly_picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@
margin: 0.5px;
padding: 0;
font-size: 0.9em;
border: 1px solid transparent;
border: 2px solid transparent;

button {
padding: 15px;
}

&:hover {
border-color: #CCC;
border-color: $selected_month;
}

&.highlight {
Expand Down
2 changes: 1 addition & 1 deletion test/components/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('<app/>', () => {
onCancel={onCancel}
/>);

wrapper.find('.shortcuts .btn-default').at(1).simulate('click');
wrapper.find('.shortcuts .btn-default').at(0).simulate('click');
expect(onCancel).to.have.property('callCount', 1);
});
});
Expand Down