fix: fixed extra space at bottom for list and table panel (#6049)

This commit is contained in:
SagarRajput-7 2024-09-25 11:32:06 +05:30 committed by GitHub
parent 708158f50f
commit 58d6487f77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 1 deletions

View File

@ -33,7 +33,14 @@ export const Card = styled(CardComponent)<CardProps>`
} }
.ant-card-body { .ant-card-body {
height: calc(100% - 30px); ${({ $panelType }): StyledCSS =>
$panelType === PANEL_TYPES.TABLE
? css`
height: 100%;
`
: css`
height: calc(100% - 30px);
`}
padding: 0; padding: 0;
} }
`; `;

View File

@ -63,6 +63,8 @@
height: 40px; height: 40px;
justify-content: end; justify-content: end;
padding: 0 8px; padding: 0 8px;
margin-top: 12px;
margin-bottom: 2px;
} }
} }

View File

@ -52,6 +52,8 @@
height: 40px; height: 40px;
justify-content: end; justify-content: end;
padding: 0 8px; padding: 0 8px;
margin-top: 12px;
margin-bottom: 2px;
} }
} }