cynx-ui 1.2.23 → 1.2.24

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.
@@ -30,8 +30,8 @@ const STYLES = `
30
30
  }
31
31
  .modal-card {
32
32
  background: var(--surface); border: 1px solid var(--border);
33
- border-radius: 14px; width: 100%; max-width: 480px;
34
- box-shadow: var(--shadow-lg); overflow: visible;
33
+ border-radius: 14px; width: 100%; max-width: 480px; max-height: 60vh;
34
+ box-shadow: var(--shadow-lg); overflow: hidden;
35
35
  display: flex; flex-direction: column;
36
36
  }
37
37
  .modal-close {
@@ -148,9 +148,9 @@ export function Modal({ open, onClose, onBeforeClose, title, children, footer, m
148
148
  className="modal-card"
149
149
  style={{
150
150
  background: 'var(--surface)', border: '1px solid var(--border)',
151
- borderRadius: 14, width: '100%', maxWidth,
151
+ borderRadius: 14, width: '100%', maxWidth, maxHeight: '60vh',
152
152
  boxShadow: '0 20px 60px rgba(0,0,0,.25)',
153
- overflow: 'visible', display: 'flex', flexDirection: 'column',
153
+ overflow: 'hidden', display: 'flex', flexDirection: 'column',
154
154
  animation: `${closing ? 'modalCardOut' : 'modalCardIn'} .26s cubic-bezier(.4,0,.2,1) forwards`,
155
155
  }}
156
156
  onMouseDown={e => e.stopPropagation()}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cynx-ui",
3
- "version": "1.2.23",
3
+ "version": "1.2.24",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js"