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

Commit13c973a

Browse files
fixed background image style
1 parenta626975 commit13c973a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎client/packages/lowcoder/src/util/styleUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const getBackgroundStyle = (style: Record<string, string | undefined>) => {
55
returncss`
66
${isValidColor(style.background)&&`background-color:${style.background}`};
77
${isValidGradient(style.background)&&!Boolean(style.backgroundImage)&&`background-image:${style.background}`};
8-
${!isValidGradient(style.background)&&Boolean(style.backgroundImage)&&`background-image:${style.backgroundImage}`};
8+
${!isValidGradient(style.background)&&Boolean(style.backgroundImage)&&`background-image:url(${style.backgroundImage})`};
99
${isValidGradient(style.background)&&Boolean(style.backgroundImage)&&`background-image: url(${style.backgroundImage}),${style.background}`};
1010
1111
${style.backgroundImageRepeat&&`background-repeat:${style.backgroundImageRepeat};`};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp