Highlight log row on hover

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

No files matched your search

@@ -1,3 +1,9 @@
.LogRow {
&:hover {
background: var(--logRowHoverBackground);
}
}
.overlay {
--overlay-bg: #8cc474b8;
--overlay-active-bg: orange;
@@ -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) }} />
)}