change(ui) - fadeout inactive rows
This commit is contained in:
parent
78eeee0e2b
commit
3e50efd673
2 changed files with 2 additions and 2 deletions
|
|
@ -108,5 +108,5 @@ $offset: 10px;
|
|||
}
|
||||
|
||||
.inactiveRow {
|
||||
opacity: 0.5;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue