Skip to content

Commit 6660a8e

Browse files
fix module autoheight taking more height
1 parent 6e9f52d commit 6660a8e

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy