Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7ed2c3

Browse files
committed
condition updated
1 parent1facfbc commitc7ed2c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function UIView(props: {
269269
(boxShadowVal===null||boxShadowVal===undefined||boxShadowVal==='0px')
270270
) ?'0px'// Both rotation and box-shadow are empty or restricted
271271
:rotationVal!==''&&rotationVal!=='0deg'// Rotation applied
272-
?(boxShadowVal===null||boxShadowVal===undefined||boxShadowVal==='0px')?'0px':(boxShadowVal!==''&&boxShadowVal!=='0px')// Both rotation and box-shadow applied
272+
?(boxShadowVal===null||boxShadowVal===undefined||boxShadowVal==='0px')?`calc(min(50%,${Math.abs(rotationVal.replace('deg',''))/90} * 100%)) 0px`:(boxShadowVal!==''&&boxShadowVal!=='0px')// Both rotation and box-shadow applied
273273
?`calc(min(50%,${Math.abs(rotationVal.replace('deg','')+parseFloat(boxShadowVal.replace('px','')))/90} * 100%)) 0px`
274274
:`calc(min(50%,${Math.abs(rotationVal.replace('deg',''))/90} * 100%)) 0px`// Only rotation applied
275275
:(boxShadowVal===null||boxShadowVal===undefined||boxShadowVal==='0px')?'0px':(boxShadowVal!==''&&boxShadowVal!=='0px')// Box-shadow applied

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp