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

Commit91d8e3a

Browse files
List/GridView: added gradient
1 parentaba86a6 commit91d8e3a

File tree

1 file changed

+2
-1
lines changed
  • client/packages/lowcoder/src/comps/comps/listViewComp

1 file changed

+2
-1
lines changed

‎client/packages/lowcoder/src/comps/comps/listViewComp/listView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ import { getCurrentItemParams, getData } from "./listViewUtils";
2121
import{useMergeCompStyles}from"@lowcoder-ee/util/hooks";
2222
import{childrenToProps}from"@lowcoder-ee/comps/generators/multi";
2323
import{AnimationStyleType}from"@lowcoder-ee/comps/controls/styleControlConstants";
24+
import{getBackgroundStyle}from"@lowcoder-ee/util/styleUtils";
2425

2526
constListViewWrapper=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
`;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp