react-nomba-checkout-sdk 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-nomba-checkout-sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
@@ -136,7 +136,10 @@ const modalStyles: { [key: string]: React.CSSProperties } = {
136
136
  position: 'relative',
137
137
  height: '600px',
138
138
  maxHeight: '95vh',
139
+
140
+ ...(window.innerWidth <= 768 ? { width: '98vw', maxWidth: '98vw' } : {}),
139
141
  },
142
+
140
143
  header: {
141
144
  position: 'relative',
142
145
  display: 'flex',