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";
2121import { useMergeCompStyles } from "@lowcoder-ee/util/hooks" ;
2222import { childrenToProps } from "@lowcoder-ee/comps/generators/multi" ;
2323import { AnimationStyleType } from "@lowcoder-ee/comps/controls/styleControlConstants" ;
24+ import { getBackgroundStyle } from "@lowcoder-ee/util/styleUtils" ;
2425
2526const ListViewWrapper = styled . div < { $style : any ; $paddingWidth : string , $animationStyle :AnimationStyleType } > `
2627 height: 100%;
2728 border: 1px solid ${ ( props ) => props . $style . border } ;
2829 border-radius: ${ ( props ) => props . $style . radius } ;
2930 padding: 3px ${ ( props ) => props . $paddingWidth } ;
3031 rotate: ${ ( props ) => props . $style . rotation } ;
31- background-color: ${ ( props ) => props . $style . background } ;
32+ ${ props => getBackgroundStyle ( props . $style ) }
3233 ${ props => props . $animationStyle }
3334
3435` ;
You can’t perform that action at this time.
0 commit comments