fix: smaller date overwrite when no date is selected (#11250)
This commit is contained in:
1 parent
d6cbac54e0
commit
13fd02d174
1 file changed
+2
-2
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user