chore: spreadsheet layout improvement (#2677)

* style: spreadsheet column width fix

* style: spreadsheet label column styling

* chore: spreadsheet layout issue properties improvement

* fix: build error
This commit is contained in:
Anmol Singh Bhatia 2023-11-07 15:58:00 +05:30 committed by GitHub
parent 98974fdc50
commit 93d03f82b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 77 additions and 23 deletions

View file

@ -10,6 +10,7 @@ type Props = {
onChange: (val: string | null) => void;
handleOnOpen?: () => void;
handleOnClose?: () => void;
customInput?: React.ReactNode;
placeholder?: string;
displayShortForm?: boolean;
error?: boolean;
@ -35,6 +36,7 @@ export const CustomDatePicker: React.FC<Props> = ({
className = "",
isClearable = true,
disabled = false,
customInput,
maxDate,
minDate,
}) => (
@ -48,6 +50,7 @@ export const CustomDatePicker: React.FC<Props> = ({
onCalendarOpen={handleOnOpen}
onCalendarClose={handleOnClose}
wrapperClassName={wrapperClassName}
customInput={customInput}
className={`${
renderAs === "input"
? "block px-2 py-2 text-sm focus:outline-none"