@newtone-dev/ui-react-web 0.38.0 → 0.38.1
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.
|
@@ -94,9 +94,14 @@
|
|
|
94
94
|
* absent `ratio` asks for them, so every writer before 0.16.0 renders the one span it always did.
|
|
95
95
|
*
|
|
96
96
|
* AREA: the designated space. The parent's full size, or the given ratio at the parent's width. A size
|
|
97
|
-
* container, so the frame can be capped by it in `cqw` and `cqh`.
|
|
97
|
+
* container, so the frame can be capped by it in `cqw` and `cqh`.
|
|
98
|
+
*
|
|
99
|
+
* ITS ONE CELL IS `minmax(0, 1fr)` BOTH WAYS, from 0.38.1. With no template the row was `auto`, so a
|
|
100
|
+
* filling frame's `100%` read the picture's own height: a 1600 px picture in a 520 px area made the
|
|
101
|
+
* area 1280 px tall. Fit never showed it, because a measured frame is sized in `cqw` and `cqh`. */
|
|
98
102
|
.newtone-media-window-area {
|
|
99
103
|
display: grid;
|
|
104
|
+
grid-template: minmax(0, 1fr) / minmax(0, 1fr);
|
|
100
105
|
place-items: center;
|
|
101
106
|
container-type: size;
|
|
102
107
|
inline-size: 100%;
|