Update Placeholder.js

This commit is contained in:
Raktima
2024-10-11 19:07:54 +05:30
committed by GitHub
parent 404785bf29
commit f3667f6aaf
@@ -661,7 +661,7 @@ function Placeholder(props) {
const fontSize = (size || 12) * containerScale * props.scale;
//isMinHeight to set text box minimum height
if (isMinHeight) {
return fontSize * 1.5;
return fontSize * 1.5 + "px";
} else {
return fontSize + "px";
}