File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
client/packages/lowcoder/src/comps/generators Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -274,17 +274,17 @@ function UIView(props: {
274274 boxShadowVal === undefined ||
275275 boxShadowVal === '0px' )
276276 ? restrictPaddingOnRotationVal === 'qrCode'
277- ? ' 50% 0px'
277+ ? rotationVal !== '' && rotationVal !== '0deg' ? ' 50% 0px' : ' 0px'
278278 : restrictPaddingOnRotationVal === 'image'
279- ? ' 10% 0px'
279+ ? rotationVal !== '' && rotationVal !== '0deg' ? ' 10% 0px' : ' 0px'
280280 : restrictPaddingOnRotationVal === 'imageCarousel'
281- ? ' 35% 0px'
281+ ? rotationVal !== '' && rotationVal !== '0deg' ? ' 35% 0px' : ' 0px'
282282 : restrictPaddingOnRotationVal === 'fileViewer'
283- ? ' 65% 0px'
283+ ? rotationVal !== '' && rotationVal !== '0deg' ? ' 65% 0px' : ' 0px'
284284 : restrictPaddingOnRotationVal === 'controlButton'
285- ? ' 50% 0px'
285+ ? rotationVal !== '' && rotationVal !== '0deg' ? ' 50% 0px' : ' 0px'
286286 : restrictPaddingOnRotationVal === 'video'
287- ? ' 26% 0px'
287+ ? rotationVal !== '' && rotationVal !== '0deg' ? ' 26% 0px' : ' 0px'
288288 : '0px' // Both rotation and box-shadow are empty or restricted
289289 : rotationVal !== '' && rotationVal !== '0deg' // Rotation applied
290290 ? boxShadowVal === null ||
You can’t perform that action at this time.
0 commit comments