Skip to content

Commit f3e5e96

Browse files
fix: set columns width based on min-width
1 parent d9debc7 commit f3e5e96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/packages/lowcoder/src/comps/comps/responsiveLayout/responsiveLayout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ const ColWrapper = styled(Col)<{
4848
$minWidth?: string,
4949
$matchColumnsHeight: boolean,
5050
}>`
51-
min-width: ${(props) => props.$minWidth};
5251
display: flex;
5352
flex-direction: column;
53+
flex-basis: ${(props) => props.$minWidth};
54+
max-width: ${(props) => props.$minWidth};
5455
5556
> div {
5657
height: ${(props) => props.$matchColumnsHeight ? '100%' : 'auto'};

0 commit comments

Comments
 (0)