We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parenta626975 commit13c973aCopy full SHA for 13c973a
client/packages/lowcoder/src/util/styleUtils.tsx
@@ -5,7 +5,7 @@ const getBackgroundStyle = (style: Record<string, string | undefined>) => {
5
returncss`
6
${isValidColor(style.background)&&`background-color:${style.background}`};
7
${isValidGradient(style.background)&&!Boolean(style.backgroundImage)&&`background-image:${style.background}`};
8
-${!isValidGradient(style.background)&&Boolean(style.backgroundImage)&&`background-image:${style.backgroundImage}`};
+${!isValidGradient(style.background)&&Boolean(style.backgroundImage)&&`background-image:url(${style.backgroundImage})`};
9
${isValidGradient(style.background)&&Boolean(style.backgroundImage)&&`background-image: url(${style.backgroundImage}),${style.background}`};
10
11
${style.backgroundImageRepeat&&`background-repeat:${style.backgroundImageRepeat};`};