[Refactor]: updated css for height of Panel in LeftContainer (#4030)

* refactor: updated css

* refactor: updated the css

* refactor: removed overflow hidden
This commit is contained in:
Rajat Dabade 2023-12-29 15:52:35 +05:30 committed by GitHub
parent d688399b91
commit 8ee92516ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import styled from 'styled-components'; import styled from 'styled-components';
export const WrapperStyled = styled.div` export const WrapperStyled = styled.div`
height: 100%; height: 95%;
overflow: hidden; overflow: hidden;
& .ant-table-wrapper { & .ant-table-wrapper {

View File

@ -12,9 +12,9 @@ export const Container = styled(Card)<Props>`
} }
.ant-card-body { .ant-card-body {
padding: 8px; padding: ${({ $panelType }): string =>
$panelType === PANEL_TYPES.TABLE ? '0 0' : '1.5rem 0'};
height: 57vh; height: 57vh;
overflow: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }