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

Commit 8beddaa

Browse files
Merge pull request #349 from raheeliftikhar5/layout-component-fixes
Layout component fixes
2 parents f0ee6cc + 1e769a2 commit 8beddaa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
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'};
@@ -65,7 +66,7 @@ const childrenMap = {
6566
}),
6667
autoHeight: AutoHeightControl,
6768
rowBreak: withDefault(BoolControl, false),
68-
matchColumnsHeight: withDefault(BoolControl, false),
69+
matchColumnsHeight: withDefault(BoolControl, true),
6970
rowStyle: withDefault(styleControl(ResponsiveLayoutRowStyle), {}),
7071
columnStyle: withDefault(styleControl(ResponsiveLayoutColStyle), {}),
7172
columnPerRowLG: withDefault(NumberControl, 4),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /