fix: smaller date overwrite when no date is selected (#11250)
parent
d6cbac54e0
commit
13fd02d174
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue