@@ -18,6 +18,7 @@ type Props = {
children?: ReactNode,
testId?: string,
height?: string,
+ width?: string,
};
const Modal: FC<Props> = function({
@@ -29,10 +30,11 @@ const Modal: FC<Props> = function({
children,
testId,
height,
+ width,
}) {
const styles: ReactModalStyle = {
content: {
- width: '680px',
+ width: width ?? '680px',
overflow: 'visible',
borderRadius: '10px',
height: height ?? '560px',
@@ -27,6 +27,8 @@ const PutModal: FC<Props> = function({visible, onClose, id, onFetch}) {
testId='matter_modal'
onSubmit={onSubmit}
isLoading={isLoading}
+ height='420px'
+ width='600px'
>
<FormProvider {...formInstance}>
<ErrorBoundary>
@@ -22,6 +22,7 @@ const RoleModal: FC<Props> = function({visible, onClose, onFetch, id}) {
testId='role_modal'
+ height='500px'
@@ -22,6 +22,8 @@ const PutModal: FC<Props> = function({visible, id, onClose, onFetch}) {
testId='semi_draw_modal'
+ height='400px'
+ width='560px'
@@ -25,6 +25,8 @@ const PutModal: FC<Props> = function({visible, onClose, onFetch, id}) {
testId='semi_report_modal'