Skip to content

Commit

Permalink
fix(AnalyticalTable): remove padding and scrollbar from select-all he…
Browse files Browse the repository at this point in the history
…ader cell (#536)

closes #532
  • Loading branch information
Lukas742 authored and MarcusNotheis committed May 22, 2020
1 parent c3bb684 commit 01a257e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const styles = {
borderTop: `1px solid ${ThemingParameters.sapList_BorderColor}`,
borderBottom: `1px solid ${ThemingParameters.sapList_BorderColor}`,
borderRight: `1px solid ${ThemingParameters.sapList_BorderColor}`,
padding: `0 0.5rem`,
textAlign: 'start',
boxSizing: 'border-box',
'&:first-child': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const styles = {
position: 'relative',
width: '100%',
overflowX: 'hidden',
padding: `0 0.5rem`,
overflowY: 'hidden',
boxSizing: 'border-box',
'&[data-h-align="End"]': {
'& $text': {
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/components/AnalyticalTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ const AnalyticalTable: FC<TableProps> = forwardRef((props: TableProps, ref: Ref<
return (
// eslint-disable-next-line react/jsx-key
<header {...headerProps} role="rowgroup">
{headerGroup.headers.map((column, index) => (
{headerGroup.headers.map((column) => (
// eslint-disable-next-line react/jsx-key
<ColumnHeader
{...column.getHeaderProps()}
Expand Down

0 comments on commit 01a257e

Please sign in to comment.