@wandelbots/wandelbots-js-react-components 2.33.0-pr.feature-robot-precondition-list.372.9858a50 → 2.33.0-pr.feature-robot-precondition-list.372.f4981e5
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/RobotCard.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
-
"version": "2.33.0-pr.feature-robot-precondition-list.372.
|
|
3
|
+
"version": "2.33.0-pr.feature-robot-precondition-list.372.f4981e5",
|
|
4
4
|
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -227,7 +227,7 @@ export const RobotCard = externalizeComponent(
|
|
|
227
227
|
// Determine if runtime view should be hidden when height is too low
|
|
228
228
|
// Runtime should be hidden BEFORE the robot (at higher threshold)
|
|
229
229
|
const shouldHideRuntime = isLandscape
|
|
230
|
-
? cardSize.height <
|
|
230
|
+
? cardSize.height < 310 // Landscape: hide runtime at height < 350px
|
|
231
231
|
: cardSize.height < 450 // Portrait: hide runtime at height < 450px
|
|
232
232
|
|
|
233
233
|
return (
|