Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 6, 2023
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
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