@leverege/tpi-viz 0.2.4 → 0.2.5
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": "@leverege/tpi-viz",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "3D scene viewer for TPI manufacturing data — renders blade geometry, PTZ cameras, defects, ply layers, and flows. Exports mountViewer()/destroy() for embedding (e.g. an Imaginarium React route); also runs standalone.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -164,10 +164,17 @@
|
|
|
164
164
|
border-radius: var(--r-sm);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
/* Layout
|
|
168
|
-
|
|
167
|
+
/* Layout. #app carries class="container" — a name that collides with CSS
|
|
168
|
+
frameworks' `.container` utility (e.g. Tailwind's max-width + margins, which
|
|
169
|
+
a host app like Imaginarium bundles). Scope under .tpi-viz (higher
|
|
170
|
+
specificity) and hard-reset the width caps so the host's `.container` can't
|
|
171
|
+
box or off-center the viewer shell. */
|
|
172
|
+
.tpi-viz .container {
|
|
169
173
|
display: flex;
|
|
170
174
|
height: 100%;
|
|
175
|
+
width: 100%;
|
|
176
|
+
max-width: none;
|
|
177
|
+
margin: 0;
|
|
171
178
|
}
|
|
172
179
|
|
|
173
180
|
.sidebar {
|