Movatterモバイル変換


[0]ホーム

URL:


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

Commit0ffa805

Browse files
fix extra spacing issue in cavas
1 parent3464e6b commit0ffa805

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎client/packages/lowcoder/src/layout/gridLayout.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class GridLayout extends React.Component<GridLayoutProps, GridLayoutState> {
214214
*/
215215
containerHeight():string{
216216
const{ margin, rowHeight, fixedRowCount, isCanvas}=this.propsasRequired<GridLayoutProps>;
217-
const{extraHeight,emptyRows}=this.props;
217+
const{ emptyRows}=this.props;
218218
constpositionParams=genPositionParams(this.props);
219219
const{ containerPadding}=positionParams;
220220
constlayout=this.getUILayout(undefined,true);
@@ -227,9 +227,7 @@ class GridLayout extends React.Component<GridLayoutProps, GridLayoutState> {
227227
nbRow*rowHeight+(nbRow-1)*margin[1]+containerPadding[1]*2
228228
);
229229
// log.debug("layout: containerHeigh=", containerHeight, " minHeight: ", this.props.minHeight);
230-
constheight=extraHeight
231-
?`calc(${containerHeight}px +${extraHeight})`
232-
:containerHeight+"px";
230+
constheight=`${containerHeight}px`;
233231
// log.log( "containerHeight. nbRow: ", nbRow, " containerPadding: ", containerPadding[1], " containerHeight: ", containerHeight, " height: ", height);
234232
returnheight;
235233
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp