Skip to content

Commit

Permalink
fix(Pivot Table v2): resolved full width issue (#23393)
Browse files Browse the repository at this point in the history
(cherry picked from commit 832e8fb)
  • Loading branch information
AkashBoora authored and eschutho committed May 25, 2023
1 parent 71cb628 commit 98dd68f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const Styles = styled.div<PivotTableStylesProps>`

const PivotTableWrapper = styled.div`
height: 100%;
max-width: fit-content;
max-width: inherit;
overflow: auto;
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 98dd68f

Please sign in to comment.