Skip to content

Commit 4920acb

Browse files
matecompestacioneto
authored andcommitted
Add overflow-x-auto to classNames
1 parent 4c85c29 commit 4920acb

File tree

1 file changed

+2
-3
lines changed
  • react/components/EXPERIMENTAL_Table/Sections

1 file changed

+2
-3
lines changed

react/components/EXPERIMENTAL_Table/Sections/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ function Sections(
3333
return (
3434
<div
3535
style={{ height: disableScroll ? 'auto' : tableHeight, ...motion }}
36-
className={classNames('mw-100', ORDER_CLASSNAMES.TABLE, {
37-
'overflow-x-auto overflow-y-auto': !disableScroll,
38-
'overflow-x-auto': disableScroll,
36+
className={classNames('mw-100 overflow-x-auto', ORDER_CLASSNAMES.TABLE, {
37+
'overflow-y-auto': !disableScroll,
3938
})}>
4039
<table
4140
ref={ref}

0 commit comments

Comments
 (0)