Remove Moment dependency by changing implementation of DateRangePicker to something leaner (#798)
* chore: extracted all DateRangePicker logic from event-types/[type].tsx * Minor alignment fixes + Date.now() instead of 1970. * Removes react-dates, implements wojtekmaj/react-daterange-picker
This commit is contained in:
1 parent
78c78a6981
commit
dc7b084bdf
5 files changed
+150
-271
No files matched your search
@@ -13,6 +13,17 @@
|
||||
@apply text-black;
|
||||
}
|
||||
|
||||
/* DateRangePicker */
|
||||
.react-daterange-picker > .react-daterange-picker__wrapper {
|
||||
/* border consistent with other inputs */
|
||||
@apply px-2 py-1.5 lg:py-1 border-gray-300 rounded-sm sm:text-sm;
|
||||
}
|
||||
|
||||
.react-daterange-picker > .react-daterange-picker__wrapper input {
|
||||
/* Makes sure the on-focus behaviour is like Cal.com's */
|
||||
@apply rounded-sm focus:ring-primary-500 focus:border-primary-500 h-auto py-0.5 my-0.5;
|
||||
}
|
||||
|
||||
/* Cal Sans */
|
||||
@font-face {
|
||||
font-family: "Cal Sans";
|
||||
|
||||
Reference in new issue
Block a user