Skip to content

Commit

Permalink
Update src/components/Overlays/Modals/ModalRoot.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Zyruks <[email protected]>
  • Loading branch information
serudda and Zyruks committed Mar 26, 2024
1 parent ac88377 commit 4e7ae13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Overlays/Modals/ModalRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const ModalRoot = ({ children }: ModalRootProps) => {

const getModalStyles = () => {
// it's needed to get the 70% of the screen height
const BASE_MODAL_SIZE_GAP = 'calc(100% - 3.5rem)';
const BASE_MODAL_SIZE_GAP = '70svh';
let defaultStyles;

// if the modal content is not full screen
Expand Down

0 comments on commit 4e7ae13

Please sign in to comment.