Skip to content

Commit aa9e0e3

Browse files
authored
Merge branch 'dev' into feature-viewer
2 parents 3e6df96 + 045141c commit aa9e0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/comps/tableComp/tableCompView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const BackgroundWrapper = styled.div<{
160160
border-style: ${(props) => props.$style.borderStyle} !important;
161161
border-width: ${(props) => `${props.$style.borderWidth} !important`};
162162
border-color: ${(props) => `${props.$style.border} !important`};
163-
height: calc(100% - ${(props) => getVerticalMargin(props.$style.margin.split(' '))});
163+
height: calc(100% - ${(props) => props.$style.margin && getVerticalMargin(props.$style.margin.split(' '))});
164164
overflow: hidden;
165165
166166
> div.table-scrollbar-wrapper {

0 commit comments

Comments
 (0)