Skip to content

Commit d672691

Browse files
fix: use new screen widths and limit modal width
1 parent a2f8a95 commit d672691

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/ui/Modal/Modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import ReactModal from 'react-modal'
44
import BaseModal from './BaseModal'
55

66
const modalSizes = Object.freeze({
7-
medium: 'w-11/12 md:w-3/4 xl:w-1/2',
8-
small: 'w-3/4 md:w-2/4 xl:w-2/4 2xl:w-1/4',
7+
medium: 'w-11/12 md:w-3/4 xl:w-1/2 4xl:w-[1000px]',
8+
small: 'w-3/4 md:w-2/4 xl:w-2/4 2xl:w-1/4 3xl:w-[448px]',
99
})
1010

1111
export interface ModalProps {

tailwind.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ const config = {
178178
},
179179
},
180180
screens: {
181+
'3xl': '1792px',
182+
'4xl': '2048px',
181183
print: { raw: 'print' },
182184
},
183185
backgroundImage: {

0 commit comments

Comments
 (0)