make file, image viewer wide (#1444)

This commit is contained in:
Ajay Bura 2023-10-10 17:07:03 +11:00 committed by GitHub
commit d0f2a865bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 3 deletions

View file

@ -81,7 +81,11 @@ export const ImageContent = as<'div', ImageContentProps>(
clickOutsideDeactivates: true,
}}
>
<Modal size="500" onContextMenu={(evt: any) => evt.stopPropagation()}>
<Modal
className={css.ModalWide}
size="500"
onContextMenu={(evt: any) => evt.stopPropagation()}
>
<ImageViewer
src={srcState.data}
alt={body}