Skip to content

Commit 39b775d

Browse files
show only available space for editing list item in horizontal mode
1 parent e6e6b3a commit 39b775d

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ function ListItem({
129129
dispatch={itemIdx === offset ? containerProps.dispatch : _.noop}
130130
style={{
131131
height: "100%",
132+
// in case of horizontal mode, minHorizontalWidth is 0px
133+
width: minHorizontalWidth !== '0px' ? minHorizontalWidth : '100%',
132134
backgroundColor: "transparent",
133135
flex: "auto",
134136
}}

0 commit comments

Comments
 (0)