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

Commit6660a8e

Browse files
fix module autoheight taking more height
1 parent6e9f52d commit6660a8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎client/packages/lowcoder/src/comps/comps/gridLayoutComp/canvasView.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export const CanvasView = React.memo((props: ContainerBaseProps) => {
327327
bgColor={bgColor}
328328
radius="0px"
329329
emptyRows={defaultRowCount}
330-
minHeight={defaultMinHeight}
330+
minHeight={!isModule ?defaultMinHeight :undefined}
331331
extraHeight={defaultRowCount===DEFAULT_ROW_COUNT ?rootContainerExtraHeight :undefined}
332332
/>
333333
</Profiler>
@@ -368,7 +368,7 @@ export const CanvasView = React.memo((props: ContainerBaseProps) => {
368368
bgColor={bgColor}
369369
positionParams={positionParams}
370370
emptyRows={defaultRowCount}
371-
minHeight={defaultMinHeight}
371+
minHeight={!isModule ?defaultMinHeight :undefined}
372372
extraHeight={defaultRowCount===DEFAULT_ROW_COUNT ?rootContainerExtraHeight :undefined}
373373
/>
374374
</Profiler>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp