Skip to content

Commit 98ac923

Browse files
committed
condition updated
1 parent f1effb5 commit 98ac923

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/packages/lowcoder/src/comps/generators/uiCompBuilder.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,11 @@ function UIView(props: {
287287
} else {
288288
return '0px'; // Both rotation and box-shadow are empty or restricted
289289
}
290-
} else if (rotationVal !== '' && rotationVal !== '0deg') {
290+
}else if (
291+
rotationVal === null ||
292+
rotationVal === undefined ||
293+
rotationVal === '0px'
294+
){return '0px'} else if (rotationVal !== '' && rotationVal !== '0deg') {
291295
// Rotation applied
292296
if (
293297
boxShadowVal === null ||

0 commit comments

Comments
 (0)