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:
parent
c4ae074abd
commit
5443f40259
@ -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) }} />
|
||||
)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user