kingkont 0.7.93 → 0.7.94

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": "kingkont",
3
- "version": "0.7.93",
3
+ "version": "0.7.94",
4
4
  "description": "KingKont · Chatium — нод-редактор сцен с AI-генерацией (картинки/видео/голос/SFX/музыка/текст)",
5
5
  "main": "main.js",
6
6
  "bin": {
@@ -700,15 +700,27 @@
700
700
  }
701
701
  .add-menu button:hover { background: #2c2c2c; }
702
702
 
703
- /* === Fullscreen viewer === */
703
+ /* === Fullscreen viewer ===
704
+ .fs-modal — фон + контейнер для absolute-позиционированных контролов
705
+ (× close, ← prev, → next).
706
+ .fs-stage — absolute inset:0 (гарантированный fill viewport'а), flex-
707
+ центровка картинки. Раньше .fs-modal был flex-row с align-items:center,
708
+ и .fs-stage с height:100% не растягивался на cross-axis (брал NATURAL
709
+ высоту), → картинка центрировалась не в полный viewport → казалось
710
+ что внизу куча пустого места. */
704
711
  .fs-modal {
705
712
  position: fixed; inset: 0; background: rgba(0,0,0,0.95);
706
- z-index: 1000; display: flex; align-items: center; justify-content: center;
713
+ z-index: 1000;
707
714
  }
708
715
  .fs-modal.hidden { display: none; }
709
- .fs-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 32px; }
716
+ .fs-stage {
717
+ position: absolute; inset: 0;
718
+ display: flex; align-items: center; justify-content: center;
719
+ padding: 16px 64px; /* по бокам — место под nav-кнопки */
720
+ }
710
721
  .fs-stage img, .fs-stage video {
711
722
  max-width: 100%; max-height: 100%; object-fit: contain;
723
+ display: block;
712
724
  }
713
725
  .fs-modal #fsClose {
714
726
  position: absolute; top: 16px; right: 16px;