Skip to content

Commit

Permalink
[datetime2] fix(DateRangeInput3): hover styling bug (#6435)
Browse files Browse the repository at this point in the history
  • Loading branch information
adidahiya authored Oct 6, 2023
1 parent 69b0c42 commit 329b2b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface DateInput3Props
Pick<DatePicker3Props, "dayPickerProps" | "locale">,
Partial<Omit<DateFormatProps, "locale">> {
/**
* [date-fns] format string used to format & parse date strings.
* [date-fns format](https://date-fns.org/docs/format) string used to format & parse date strings.
*
* Mutually exclusive with the `formatDate` and `parseDate` props.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,14 @@
visibility: hidden;
}

&_hovered {
&_hovered:not(.rdp-day_selected) {
border-radius: 0;
color: $blue2;

// need to disable hover styles for all variants of selected dates

/* stylelint-disable max-line-length */
&:not(.rdp-day_selected):not(.rdp-day_range_start):not(.rdp-day_range_middle):not(.rdp-day_range_end) {
&:not(.rdp-day_range_start):not(.rdp-day_range_middle):not(.rdp-day_range_end) {
background-color: $daterangepicker-range-background-color;
}
/* stylelint-enable max-line-length */
}

&_range_middle {
Expand Down

1 comment on commit 329b2b5

@adidahiya
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[datetime2] fix(DateRangeInput3): hover styling bug (#6435)

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Please sign in to comment.