File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
client/packages/lowcoder/src/comps/generators Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,6 @@ function UIView(props: {
248
248
249
249
let defaultChildren = comp . children ;
250
250
const isNotContainer = defaultChildren . hasOwnProperty ( 'style' ) ;
251
- const restrictPaddingOnRotation = defaultChildren . hasOwnProperty ( 'restrictPaddingOnRotation' ) ;
252
251
let rotationVal = null
253
252
let boxShadowVal = null ;
254
253
if ( isNotContainer ) {
@@ -266,7 +265,7 @@ function UIView(props: {
266
265
margin : '0px' ,
267
266
// padding:'0px',
268
267
padding : (
269
- rotationVal === null || rotationVal === undefined || restrictPaddingOnRotation
268
+ rotationVal === null || rotationVal === undefined
270
269
? '0px'
271
270
: (
272
271
boxShadowVal === null || boxShadowVal === undefined
You can’t perform that action at this time.
0 commit comments