1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Highlight log row on hover

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-09-06 16:44:52 +03:00
parent c4ae074abd
commit 5443f40259
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
.LogRow {
&:hover {
background: var(--logRowHoverBackground);
}
}
.overlay {
--overlay-bg: #8cc474b8;
--overlay-active-bg: orange;

View File

@ -46,7 +46,7 @@ export function LogRow({ rowIndex, model }: { rowIndex: number; model: LogTabVie
}
return (
<div>
<div className={styles.LogRow}>
{contents.length > 1 ? contents : (
<span dangerouslySetInnerHTML={{ __html: ansiToHtml(log) }} />
)}