Skip to content

Commit

Permalink
Maxheight contsraint for modals
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Jézégou authored and AdJez committed Jan 11, 2024
1 parent 906bad2 commit a1c9b30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/js/components/modals/ValidationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,9 @@ export const ValidationModal = ({
ref={ref}
className={`${
isValidationModalOpen ? 'fixed' : 'hidden'
} z-20 flex flex-col w-full max-w-480 rounded-sm bg-white max-h-640 shadow-2xl`}
} z-20 flex flex-col w-full max-w-480 rounded-sm bg-white shadow-2xl`}
style={{
maxHeight: '90%',
margin: 0,
top: '50%',
left: '50%',
Expand Down

0 comments on commit a1c9b30

Please sign in to comment.