@ecomcx/ecomweb-editor 1.26.1 → 1.26.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": "@ecomcx/ecomweb-editor",
3
- "version": "1.26.1",
3
+ "version": "1.26.2",
4
4
  "description": "Trình soạn nội dung dạng khối của CMS — dùng độc lập trong mọi dự án React (1.x: TipTap; ./v2: cây khối, khung soạn iframe, sửa header/footer tại chỗ).",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/v2/editor.css CHANGED
@@ -207,6 +207,7 @@ body.is-dragging, body.is-dragging * { cursor: grabbing !important; user-select:
207
207
  .ecx-modal-backdrop { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgb(15 30 41 / .4); animation: ecx-pop .16s var(--ecx-ed-ease); }
208
208
  .ecx-modal { width: 100%; max-width: 480px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--ecx-ed-panel); color: var(--ecx-ed-fg); border: 1px solid var(--ecx-ed-line); border-radius: 12px; box-shadow: 0 24px 64px -12px rgb(14 40 58 / .35); font: 13px/1.45 var(--ecx-ed-font); overflow: hidden; }
209
209
  .ecx-modal.is-wide { max-width: 760px; height: min(620px, calc(100vh - 32px)); }
210
+ .ecx-modal.is-wide:has(.ecx-ai-body) { height: auto; max-width: 640px; } /* hộp AI: cao vừa nội dung, không để khoảng trống */
210
211
  .ecx-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--ecx-ed-line); }
211
212
  .ecx-modal-header h2 { margin: 0; font-size: 15px; font-weight: 600; }
212
213
  .ecx-prefs { display: flex; min-height: 0; flex: 1; }