Skip to content

Commit

Permalink
Fix highlight line (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
reivaj05 committed Apr 3, 2024
1 parent a6a3e21 commit c22daee
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ interface IPodLogsProps {
}

const LogsItem = styled.div(({ theme }) => ({
"& .highlighted": {
"&.highlighted": {
"& span": {
backgroundColor: get(theme, "signalColors.warning", "#FFBD62"),
},
Expand Down Expand Up @@ -107,7 +107,7 @@ const PodLogs = ({
return (
<LogsItem
key={index}
className={`${highlightedLine ? "highlight" : ""}`}
className={`${highlightedLine ? "highlighted" : ""}`}
>
<span className={"tab"}>{substr}</span>
</LogsItem>
Expand All @@ -117,7 +117,7 @@ const PodLogs = ({
return (
<LogsItem
key={index}
className={`${highlightedLine ? "highlight" : ""}`}
className={`${highlightedLine ? "highlighted" : ""}`}
>
<span className={"ansidefault"}>{substr}</span>
</LogsItem>
Expand Down

0 comments on commit c22daee

Please sign in to comment.