@things-factory/figure-viewer 10.1.308 → 10.1.310
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.
|
@@ -54,9 +54,11 @@ let FigureAssetViewer = class FigureAssetViewer extends localize(i18next)(LitEle
|
|
|
54
54
|
/*
|
|
55
55
|
The card's own 4:3, so the picture taken is what is seen. A screen that shows the facts beside the view caps it
|
|
56
56
|
(--figure-asset-viewer-canvas-max, a share of the element's height): a wide column's 4:3 is taller than the
|
|
57
|
-
element and pushes the tabs out of sight (user 2026-10-22, the library's release popup).
|
|
57
|
+
element and pushes the tabs out of sight (user 2026-10-22, the library's release popup). The width is stated, not
|
|
58
|
+
left to stretch: WebKit (Safari, every iOS browser) carries the capped height back through the 4:3 and narrows a
|
|
59
|
+
stretched width, so the canvas stood small in the middle of the column (user 2026-11-24, iOS).
|
|
58
60
|
*/
|
|
59
|
-
[viewport] { flex: none; aspect-ratio: 4 / 3; max-height: var(--figure-asset-viewer-canvas-max, none); position: relative; background: #858585; }
|
|
61
|
+
[viewport] { flex: none; width: 100%; aspect-ratio: 4 / 3; max-height: var(--figure-asset-viewer-canvas-max, none); position: relative; background: #858585; }
|
|
60
62
|
nav.ui-tabs { flex: none; padding: 0 16px; }
|
|
61
63
|
[tab-body] { flex: 1; min-height: 0; overflow: auto; }
|
|
62
64
|
[stage] { position: absolute; inset: 0; width: 100%; height: 100%; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/figure-viewer",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.310",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"files": [
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"@things-factory/styles": "^10.1.281",
|
|
50
50
|
"lit": "^3.1.2"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "af1e7b73772abf0b89dfe66193c771e24e18a721"
|
|
53
53
|
}
|