File tree 1 file changed +4
-2
lines changed
client/packages/lowcoder/src/comps/controls
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -117,9 +117,11 @@ const Label = styled.span<{
117
117
! ! props . $validateStatus && props ?. $validateStatus === 'error'
118
118
? props . $labelStyle . validate
119
119
: props . $labelStyle . label } !important;
120
- ${ ( props ) =>
121
- `border:${ props . $labelStyle . borderWidth } ${ props . $labelStyle . borderStyle } ${ ! ! props . $validateStatus && props ?. $validateStatus === 'error' ? props . $labelStyle . validate : props . $labelStyle . border } ;` }
120
+ ${ ( props ) => {
121
+ return `border:${ props . $labelStyle . borderWidth } ${ props . $labelStyle . borderStyle } ${ ! ! props . $validateStatus && props ?. $validateStatus === 'error' ? props . $labelStyle . validate : props . $labelStyle . border } ;` ;
122
+ } }
122
123
border-radius:${ ( props ) => props . $labelStyle . radius } ;
124
+ rotate: ${ ( props ) => props . $labelStyle . rotation } ;
123
125
padding: ${ ( props ) => props . $labelStyle . padding } ;
124
126
margin: ${ ( props ) => props . $labelStyle . margin } ;
125
127
width: fit-content;
You can’t perform that action at this time.
0 commit comments