fix(Pivot Table v2): resolved full width issue (#23393)

This commit is contained in:
akashboora 2023-03-23 03:06:07 +05:30 committed by GitHub
parent ca4dd26648
commit 832e8fb0ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const Styles = styled.div<PivotTableStylesProps>`
const PivotTableWrapper = styled.div`
height: 100%;
max-width: fit-content;
max-width: inherit;
overflow: auto;
`;

View File

@ -23,6 +23,7 @@ export const Styles = styled.div`
${({ theme, isDashboardEditMode }) => css`
table.pvtTable {
position: ${isDashboardEditMode ? 'inherit' : 'relative'};
width: calc(100% - ${theme.gridUnit}px);
font-size: ${theme.typography.sizes.s}px;
text-align: left;
margin: ${theme.gridUnit}px;