fix: hiding of action buttons (#460)

* chore: fix hiding of action buttons
This commit is contained in:
Adithya Krishna
2023-11-03 11:09:43 +05:30
committed by Mythie
parent 2065a0debc
commit 803ab7a7da
3 changed files with 30 additions and 4 deletions

View File

@ -61,8 +61,14 @@ export const DocumentFlowFormContainerContent = ({
...props
}: DocumentFlowFormContainerContentProps) => {
return (
<div className={cn('flex flex-1 flex-col', className)} {...props}>
<div className="-mx-2 flex flex-1 flex-col overflow-y-auto px-2">{children}</div>
<div
className={cn(
'custom-scrollbar -mx-2 flex flex-1 flex-col overflow-y-auto overflow-x-hidden px-2',
className,
)}
{...props}
>
<div className="flex flex-1 flex-col">{children}</div>
</div>
);
};
@ -90,7 +96,6 @@ export type DocumentFlowFormContainerStepProps = {
};
export const DocumentFlowFormContainerStep = ({
title,
step,
maxStep,
}: DocumentFlowFormContainerStepProps) => {