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

Today cell highlight #232

Open
brave-coder9 opened this issue Mar 18, 2020 · 1 comment
Open

Today cell highlight #232

brave-coder9 opened this issue Mar 18, 2020 · 1 comment

Comments

@brave-coder9
Copy link

I would like to highlight today with another color or border.

@BalajiR
Copy link

BalajiR commented Apr 15, 2020

@brave-merida ,
You can override the css classes to add styles for today cell as depicted below.
styles under DateRangePicker__FullDateStates will be applied to today cell all time.
styles under DateRangePicker__CalendarSelection will be applied when today cell is selected.

.DateRangePicker__Date {
	border: 0;
	&.DateRangePicker__Date--today {
		.DateRangePicker__FullDateStates {
			border-bottom: 2px solid;
		}
		.DateRangePicker__CalendarSelection {
			background-color: red;
		}
	}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants