@processmaker/screen-builder 2.77.0 → 2.77.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/screen-builder",
3
- "version": "2.77.0",
3
+ "version": "2.77.1",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1055,6 +1055,7 @@ export default {
1055
1055
  }
1056
1056
 
1057
1057
  .svg-icon > svg {
1058
+ margin-bottom: 3px;
1058
1059
  }
1059
1060
  </style>
1060
1061
 
@@ -17,7 +17,8 @@ export default {
17
17
  },
18
18
  checkIfIsMobile() {
19
19
  const renderer = document.getElementById("vue-form-renderer");
20
- if (this.definition) {
20
+ const isModelerInspector = this.data && this.data.$type && this.data.$type.startsWith("bpmn:");
21
+ if (this.definition && !isModelerInspector) {
21
22
  this.definition.isMobile =
22
23
  renderer && renderer.offsetWidth <= MAX_MOBILE_WIDTH;
23
24
  }