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:
Muhdsodiq Bolarinwa 2025-03-11 12:59:16 +01:00 committed by GitHub
parent c9754cf183
commit 9268df0519
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;