We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fc52e6 commit 8a4c68fCopy full SHA for 8a4c68f
2 files changed
client/packages/lowcoder/src/comps/comps/tableLiteComp/hooks/useTableConfiguration.ts
@@ -83,6 +83,10 @@ export function useTableHeights(
83
84
// Calculate available height for table body
85
const bodyHeight = Math.max(0, containerHeight - totalUsedSpace);
86
+
87
+ console.log('Container height:', containerHeight);
88
+ console.log('Body height calculated:', bodyHeight);
89
90
91
return {
92
containerStyle: {
client/packages/lowcoder/src/comps/comps/tableLiteComp/parts/TableContainer.tsx
@@ -8,7 +8,7 @@ const MainContainer = styled.div<{
8
}>`
9
display: flex;
10
flex-direction: column;
11
- height: ${props => props.$mode === 'FIXED' && props.$height ? `${props.$height}px` : '100%'};
+ height: 100%;
12
overflow: hidden;
13
position: relative;
14
`;
0 commit comments