@flozy/editor 4.4.2 → 4.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ const useResize = ({
54
54
  const calc = {
55
55
  width: Math.max(calcWidth, 140),
56
56
  height: Math.max(calcHeight, 50),
57
- widthInPercent: cWP > 100 ? 100 : cWP
57
+ widthInPercent: cWP > 100 ? 100 : Math.max(cWP, 15)
58
58
  };
59
59
  latest = calc;
60
60
  return calc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "4.4.2",
3
+ "version": "4.4.3",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"