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 +1 -1
- package/renderer/styles.css +15 -3
package/package.json
CHANGED
package/renderer/styles.css
CHANGED
|
@@ -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;
|
|
713
|
+
z-index: 1000;
|
|
707
714
|
}
|
|
708
715
|
.fs-modal.hidden { display: none; }
|
|
709
|
-
.fs-stage {
|
|
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;
|