File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
client/packages/lowcoder/src/comps/comps/listViewComp Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ import { getCurrentItemParams, getData } from "./listViewUtils";
21
21
import { useMergeCompStyles } from "@lowcoder-ee/util/hooks" ;
22
22
import { childrenToProps } from "@lowcoder-ee/comps/generators/multi" ;
23
23
import { AnimationStyleType } from "@lowcoder-ee/comps/controls/styleControlConstants" ;
24
+ import { getBackgroundStyle } from "@lowcoder-ee/util/styleUtils" ;
24
25
25
26
const ListViewWrapper = styled . div < { $style : any ; $paddingWidth : string , $animationStyle :AnimationStyleType } > `
26
27
height: 100%;
27
28
border: 1px solid ${ ( props ) => props . $style . border } ;
28
29
border-radius: ${ ( props ) => props . $style . radius } ;
29
30
padding: 3px ${ ( props ) => props . $paddingWidth } ;
30
31
rotate: ${ ( props ) => props . $style . rotation } ;
31
- background-color: ${ ( props ) => props . $style . background } ;
32
+ ${ props => getBackgroundStyle ( props . $style ) }
32
33
${ props => props . $animationStyle }
33
34
34
35
` ;
You can’t perform that action at this time.
0 commit comments