mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
fix: hiding of action buttons (#460)
* chore: fix hiding of action buttons
This commit is contained in:
@ -176,7 +176,7 @@ export const AddSignersFormPartial = ({
|
|||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="inline-flex h-10 w-10 items-center justify-center text-slate-500 hover:opacity-80 disabled:cursor-not-allowed disabled:opacity-50"
|
className="justify-left inline-flex h-10 w-10 items-center text-slate-500 hover:opacity-80 disabled:cursor-not-allowed disabled:opacity-50"
|
||||||
disabled={
|
disabled={
|
||||||
isSubmitting ||
|
isSubmitting ||
|
||||||
hasBeenSentToRecipientId(signer.nativeId) ||
|
hasBeenSentToRecipientId(signer.nativeId) ||
|
||||||
|
|||||||
@ -61,8 +61,14 @@ export const DocumentFlowFormContainerContent = ({
|
|||||||
...props
|
...props
|
||||||
}: DocumentFlowFormContainerContentProps) => {
|
}: DocumentFlowFormContainerContentProps) => {
|
||||||
return (
|
return (
|
||||||
<div className={cn('flex flex-1 flex-col', className)} {...props}>
|
<div
|
||||||
<div className="-mx-2 flex flex-1 flex-col overflow-y-auto px-2">{children}</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>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -90,7 +96,6 @@ export type DocumentFlowFormContainerStepProps = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const DocumentFlowFormContainerStep = ({
|
export const DocumentFlowFormContainerStep = ({
|
||||||
title,
|
|
||||||
step,
|
step,
|
||||||
maxStep,
|
maxStep,
|
||||||
}: DocumentFlowFormContainerStepProps) => {
|
}: DocumentFlowFormContainerStepProps) => {
|
||||||
|
|||||||
@ -93,3 +93,24 @@
|
|||||||
mask-composite: exclude;
|
mask-composite: exclude;
|
||||||
-webkit-mask-composite: xor;
|
-webkit-mask-composite: xor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-scrollbar::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
background: transparent;
|
||||||
|
border-radius: 10px;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-scrollbar::-webkit-scrollbar-track {
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-scrollbar::-webkit-scrollbar-thumb {
|
||||||
|
background: rgb(100 116 139 / 1);
|
||||||
|
border-radius: 10px;
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgb(100 116 139 / 0.5);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user