Skip to content

Commit 803cc05

Browse files
committed
fix: hidden dimension properties for icon datasource
1 parent 431c385 commit 803cc05

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/pluggableWidgets/image-web/src/Image.editorConfig.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@ export function getProperties(
9191
}
9292

9393
if (values.datasource === "icon" && (values.imageIcon?.type === "glyph" || values.imageIcon?.type === "icon")) {
94-
hidePropertiesIn(defaultProperties, values, ["widthUnit", "width", "heightUnit", "height"]);
94+
hidePropertiesIn(defaultProperties, values, [
95+
"widthUnit",
96+
"width",
97+
"heightUnit",
98+
"height",
99+
"minHeightUnit",
100+
"maxHeightUnit"
101+
]);
95102
} else {
96103
hidePropertyIn(defaultProperties, values, "iconSize");
97104
}

0 commit comments

Comments
 (0)