Skip to content

Commit 01a257e

Browse files
Lukas742MarcusNotheis
authored andcommitted
fix(AnalyticalTable): remove padding and scrollbar from select-all header cell (#536)
closes #532
1 parent c3bb684 commit 01a257e

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
@@ -368,7 +368,7 @@ const AnalyticalTable: FC<TableProps> = forwardRef((props: TableProps, ref: Ref<
368368
return (
369369
// eslint-disable-next-line react/jsx-key
370370
<header {...headerProps} role="rowgroup">
371-
{headerGroup.headers.map((column, index) => (
371+
{headerGroup.headers.map((column) => (
372372
// eslint-disable-next-line react/jsx-key
373373
<ColumnHeader
374374
{...column.getHeaderProps()}

0 commit comments

Comments
 (0)