change(ui) - fadeout inactive rows

This commit is contained in:
Shekar Siri 2023-01-10 16:06:43 +01:00
parent 78eeee0e2b
commit 3e50efd673
2 changed files with 2 additions and 2 deletions

View file

@ -108,5 +108,5 @@ $offset: 10px;
}
.inactiveRow {
opacity: 0.5;
opacity: 0.4;
}

View file

@ -214,7 +214,7 @@ export default class TimeTable extends React.PureComponent<Props, State> {
'error color-red': !!row.isRed && row.isRed(),
'cursor-pointer': typeof onRowClick === 'function',
[stl.activeRow]: activeIndex === index,
// [stl.inactiveRow]: !activeIndex || index > activeIndex,
[stl.inactiveRow]: !activeIndex || index > activeIndex,
}
)}
onClick={typeof onRowClick === 'function' ? () => onRowClick(row, index) : undefined}