Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9d0883 commit 3af570bCopy full SHA for 3af570b
client/packages/lowcoder/src/comps/hooks/modalComp.tsx
@@ -161,7 +161,7 @@ let TmpModalComp = (function () {
161
items={gridItemCompToGridItems(items)}
162
autoHeight={props.autoHeight}
163
minHeight={paddingValues ? DEFAULT_HEIGHT - paddingValues[0] * 2 + "px" : ""}
164
- containerPadding={paddingValues ? [paddingValues[0], paddingValues[1]] : [24,24]}
+ containerPadding={paddingValues ? [paddingValues[0] ?? 0, paddingValues[1] ?? 0] : [24,24]}
165
hintPlaceholder={HintPlaceHolder}
166
/>
167
</Modal>
0 commit comments