Skip to content

Commit f98b02d

Browse files
authored
fix(Table): Add hasNoPadding prop to header info button (#11089)
* fix(Table): Add hasNoPaddinf prop to header info button * Add hasNoPaddinf prop to header info button without tooltip
1 parent 582e009 commit f98b02d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-table/src/components/Table/HeaderCellInfoWrapper.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const HeaderCellInfoWrapper: React.FunctionComponent<ColumnHelpWrapperPro
5454
<Tooltip content={info} {...tooltipProps}>
5555
<Button
5656
variant="plain"
57+
hasNoPadding
5758
aria-label={ariaLabel || (typeof info === 'string' && info) || 'More info'}
5859
icon={<HelpIcon />}
5960
/>
@@ -62,6 +63,7 @@ export const HeaderCellInfoWrapper: React.FunctionComponent<ColumnHelpWrapperPro
6263
<Popover bodyContent={info} {...popoverProps}>
6364
<Button
6465
variant="plain"
66+
hasNoPadding
6567
aria-label={ariaLabel || (typeof info === 'string' && info) || 'More info'}
6668
icon={<HelpIcon />}
6769
/>

0 commit comments

Comments
 (0)