Skip to content

Commit

Permalink
Fixed #329
Browse files Browse the repository at this point in the history
  • Loading branch information
Merve7 committed Mar 5, 2018
1 parent 52dc1a2 commit fa620a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions public/resources/themes/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,16 @@
}

.ui-datepicker-calendar {
tbody {
>tr {
.ui-datepicker-selectable-other-month {
a:hover {
@include hover-element();
}

}
}
}
td:not(.ui-state-disabled) {
a:hover {
@include hover-element();
Expand Down
1 change: 1 addition & 0 deletions src/components/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,7 @@ export class Calendar extends Component {
this.state.dates.map((week, rowIndex) => {
let columns = week.map((date, columnIndex) => {
let dateStyleClass = classNames({
'ui-datepicker-selectable-other-month': date.otherMonth && this.props.selectOtherMonths,
'ui-datepicker-other-month ui-state-disabled': date.otherMonth,
'ui-datepicker-current-day': this.isSelected(date),
'ui-datepicker-today': date.today
Expand Down

0 comments on commit fa620a8

Please sign in to comment.