Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Layout component #346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Aug 23, 2023
Prev Previous commit
Next Next commit
fix: fixed column margin/padding issue
  • Loading branch information
raheeliftikhar5 committed Aug 23, 2023
commit bb5cefd445cfe60d1e44848929f23430ba847da4
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { JSONObject, JSONValue } from "util/jsonTypes";
import { CompAction, CompActionTypes, deleteCompAction, wrapChildAction } from "lowcoder-core";
import { DispatchType, RecordConstructorToView, wrapDispatch } from "lowcoder-core";
import { AutoHeightControl } from "comps/controls/autoHeightControl";
import { stringExposingStateControl } from "comps/controls/codeStateControl";
import { ColumnOptionControl } from "comps/controls/optionsControl";
import { styleControl } from "comps/controls/styleControl";
import {
Expand Down Expand Up @@ -50,6 +49,9 @@ const ColWrapper = styled(Col)<{
$matchColumnsHeight: boolean,
}>`
min-width: ${(props) => props.$minWidth};
display: flex;
flex-direction: column;

> div {
height: ${(props) => props.$matchColumnsHeight ? '100%' : 'auto'};
}
Expand Down