Fix dark mode display hash display result in Fork (#11378)
* fix darkmode dispaly hash display result * run yarn lint fix
This commit is contained in:
parent
c9754cf183
commit
9268df0519
@ -136,7 +136,7 @@ function isSingleRow (cols: Col[]): boolean {
|
||||
function renderCol ({ author, hash, isEmpty, isFinalized, parent, width }: Col, index: number): React.ReactNode {
|
||||
return (
|
||||
<td
|
||||
className={`header ${isEmpty ? 'isEmpty' : ''} ${isFinalized ? 'isFinalized' : ''}`}
|
||||
className={`header ${isEmpty ? 'isEmpty' : ''} ${isFinalized ? 'isFinalized' : 'isNotFinal'}`}
|
||||
colSpan={width}
|
||||
key={`${hash}:${index}:${width}`}
|
||||
>
|
||||
@ -442,6 +442,10 @@ const StyledDiv = styled.div`
|
||||
&.isFinalized {
|
||||
background: rgba(0, 255, 0, 0.1);
|
||||
}
|
||||
|
||||
&.isNotFinal {
|
||||
color: rgba(0,0,0);
|
||||
}
|
||||
|
||||
&.isLink {
|
||||
background: transparent;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user