Skip to content

Commit bb5cefd

Browse files
fix: fixed column margin/padding issue
1 parent 2260bdb commit bb5cefd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { JSONObject, JSONValue } from "util/jsonTypes";
33
import { CompAction, CompActionTypes, deleteCompAction, wrapChildAction } from "lowcoder-core";
44
import { DispatchType, RecordConstructorToView, wrapDispatch } from "lowcoder-core";
55
import { AutoHeightControl } from "comps/controls/autoHeightControl";
6-
import { stringExposingStateControl } from "comps/controls/codeStateControl";
76
import { ColumnOptionControl } from "comps/controls/optionsControl";
87
import { styleControl } from "comps/controls/styleControl";
98
import {
@@ -50,6 +49,9 @@ const ColWrapper = styled(Col)<{
5049
$matchColumnsHeight: boolean,
5150
}>`
5251
min-width: ${(props) => props.$minWidth};
52+
display: flex;
53+
flex-direction: column;
54+
5355
> div {
5456
height: ${(props) => props.$matchColumnsHeight ? '100%' : 'auto'};
5557
}

0 commit comments

Comments
 (0)