@@ -53,7 +53,7 @@ const DiffUnifiedOldLine = ({
5353 return (
5454 < tr data-line = { index } data-state = "diff" className = "diff-line group" >
5555 < td
56- className = "diff-line-num sticky left-0 w-[1%] min-w-[100px] select-none whitespace-nowrap pl-[10px] pr-[10px] text-right align-top"
56+ className = "diff-line-num sticky z-[1] left-0 w-[1%] min-w-[100px] select-none whitespace-nowrap pl-[10px] pr-[10px] text-right align-top"
5757 style = { {
5858 color : `var(${ plainLineNumberColorName } )` ,
5959 backgroundColor : `var(${ delLineNumberBGName } )` ,
@@ -125,7 +125,7 @@ const DiffUnifiedNewLine = ({
125125 return (
126126 < tr data-line = { index } data-state = "diff" className = "diff-line group" >
127127 < td
128- className = "diff-line-num sticky left-0 w-[1%] min-w-[100px] select-none whitespace-nowrap pl-[10px] pr-[10px] text-right align-top"
128+ className = "diff-line-num sticky z-[1] left-0 w-[1%] min-w-[100px] select-none whitespace-nowrap pl-[10px] pr-[10px] text-right align-top"
129129 style = { {
130130 color : `var(${ plainLineNumberColorName } )` ,
131131 backgroundColor : `var(${ addLineNumberBGName } )` ,
@@ -257,7 +257,7 @@ const _DiffUnifiedLine = memo(
257257 return (
258258 < tr data-line = { lineNumber } data-state = { unifiedLine . diff ? "diff" : "plain" } className = "diff-line group" >
259259 < td
260- className = "diff-line-num sticky left-0 w-[1%] min-w-[100px] select-none whitespace-nowrap pl-[10px] pr-[10px] text-right align-top"
260+ className = "diff-line-num sticky z-[1] left-0 w-[1%] min-w-[100px] select-none whitespace-nowrap pl-[10px] pr-[10px] text-right align-top"
261261 style = { {
262262 color : `var(${ hasDiff ? plainLineNumberColorName : expandLineNumberColorName } )` ,
263263 width : `calc(calc(var(${ diffAsideWidthName } ) + 5px) * 2)` ,
0 commit comments