Skip to content

Commit 97158a3

Browse files
authored
fix(AnalyticalTable): remove padding and scrollbar from select-all header cell (#536)
closes #532
1 parent fd8a543 commit 97158a3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/main/src/components/AnalyticalTable/AnayticalTable.jss.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const styles = {
2727
borderTop: `1px solid ${ThemingParameters.sapList_BorderColor}`,
2828
borderBottom: `1px solid ${ThemingParameters.sapList_BorderColor}`,
2929
borderRight: `1px solid ${ThemingParameters.sapList_BorderColor}`,
30+
padding: `0 0.5rem`,
3031
textAlign: 'start',
3132
boxSizing: 'border-box',
3233
'&:first-child': {

packages/main/src/components/AnalyticalTable/ColumnHeader/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const styles = {
6060
position: 'relative',
6161
width: '100%',
6262
overflowX: 'hidden',
63-
padding: `0 0.5rem`,
63+
overflowY: 'hidden',
6464
boxSizing: 'border-box',
6565
'&[data-h-align="End"]': {
6666
'& $text': {

packages/main/src/components/AnalyticalTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ const AnalyticalTable: FC<TableProps> = forwardRef((props: TableProps, ref: Ref<
366366
return (
367367
// eslint-disable-next-line react/jsx-key
368368
<header {...headerProps} role="rowgroup">
369-
{headerGroup.headers.map((column, index) => (
369+
{headerGroup.headers.map((column) => (
370370
// eslint-disable-next-line react/jsx-key
371371
<ColumnHeader
372372
{...column.getHeaderProps()}

0 commit comments

Comments
 (0)