Skip to content

Commit

Permalink
Updated preview modal to fullScreen size
Browse files Browse the repository at this point in the history
  • Loading branch information
gaagul committed Oct 18, 2023
1 parent b8d07c1 commit 3b41b0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/Attachments/Preview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Preview = ({
<Modal
className="ne-attachments-preview"
isOpen={!isEmpty(selectedAttachment)}
size="large"
size="fullScreen"
{...{ onClose }}
onKeyDown={handleKeyDown}
>
Expand Down
8 changes: 2 additions & 6 deletions src/styles/components/_attachments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,8 @@
}

&-preview {
width: 75vw !important;
height: 75vh !important;
max-width: 1152px !important;
max-height: 576px !important;
display: flex;
gap: 8px;
display: flex;
flex-direction: column;

&__header {
Expand All @@ -94,7 +90,7 @@
display: flex;
justify-content: center;
align-items: center;
width: 100%;
width: 100vw;
flex-grow: 1;
min-height: 10px;
padding-bottom: 8px !important;
Expand Down

0 comments on commit 3b41b0b

Please sign in to comment.