File tree 1 file changed +3
-2
lines changed
client/packages/lowcoder/src/comps/comps/responsiveLayout
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,10 @@ const ColWrapper = styled(Col)<{
48
48
$minWidth ?: string ,
49
49
$matchColumnsHeight : boolean ,
50
50
} > `
51
- min-width: ${ ( props ) => props . $minWidth } ;
52
51
display: flex;
53
52
flex-direction: column;
53
+ flex-basis: ${ ( props ) => props . $minWidth } ;
54
+ max-width: ${ ( props ) => props . $minWidth } ;
54
55
55
56
> div {
56
57
height: ${ ( props ) => props . $matchColumnsHeight ? '100%' : 'auto' } ;
@@ -65,7 +66,7 @@ const childrenMap = {
65
66
} ) ,
66
67
autoHeight : AutoHeightControl ,
67
68
rowBreak : withDefault ( BoolControl , false ) ,
68
- matchColumnsHeight : withDefault ( BoolControl , false ) ,
69
+ matchColumnsHeight : withDefault ( BoolControl , true ) ,
69
70
rowStyle : withDefault ( styleControl ( ResponsiveLayoutRowStyle ) , { } ) ,
70
71
columnStyle : withDefault ( styleControl ( ResponsiveLayoutColStyle ) , { } ) ,
71
72
columnPerRowLG : withDefault ( NumberControl , 4 ) ,
You can’t perform that action at this time.
0 commit comments