We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 725d754 commit f5b6227Copy full SHA for f5b6227
1 file changed
src/Shared/Components/Table/TableContent.tsx
@@ -437,8 +437,12 @@ const TableContent = <
437
{isAnyRowExpandable &&
438
(isExpandedRow || (!(row as RowType<RowData>).expandableRows && !rowStartIconConfig)) && (
439
<div
440
- className={`dc__position-rel expanded-tree-line ${expandBtnOrRowStartIconGutterStickyConfig.className}`}
441
- style={{ left: expandBtnOrRowStartIconGutterStickyConfig.left }}
+ {...(isExpandedRow
+ ? {
442
+ style: { left: expandBtnOrRowStartIconGutterStickyConfig.left },
443
+ className: `dc__position-rel expanded-tree-line ${expandBtnOrRowStartIconGutterStickyConfig.className}`,
444
+ }
445
+ : {})}
446
/>
447
)}
448
0 commit comments