fix: smaller date overwrite when no date is selected (#11250)

pull/11274/head
Meet Mota 2023-09-11 16:19:27 +05:30 committed by GitHub
parent d6cbac54e0
commit 13fd02d174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ const DateOverrideForm = ({
);
onClose();
}}
className="p-6 sm:flex sm:p-0">
className="p-6 sm:flex sm:p-0 md:flex-col lg:flex-col xl:flex-row">
<div
className={classNames(
selectedDates[0] && "sm:border-subtle w-full sm:border-r sm:pr-6",
@ -220,7 +220,7 @@ const DateOverrideInputDialog = ({
<Dialog open={open} onOpenChange={setOpen}>
<DialogTrigger asChild>{Trigger}</DialogTrigger>
<DialogContent enableOverflow={enableOverflow} size="md" className="p-0">
<DialogContent enableOverflow={enableOverflow} size="md" className="p-0 md:w-auto">
<DateOverrideForm
excludedDates={excludedDates}
{...passThroughProps}