mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-19 18:54:07 +00:00
Fix EntryItem
border on heading mode (#661)
This commit is contained in:
parent
6235217ead
commit
acf3894824
@ -140,7 +140,7 @@ export const EntryItem: React.FC<EntryProps> = ({entry, style, headingMode}) =>
|
|||||||
setFocusedEntryId(entry.id.toString());
|
setFocusedEntryId(entry.id.toString());
|
||||||
}}
|
}}
|
||||||
style={{
|
style={{
|
||||||
border: isSelected ? `1px ${entry.proto.backgroundColor} solid` : "1px transparent solid",
|
border: isSelected && !headingMode ? `1px ${entry.proto.backgroundColor} solid` : "1px transparent solid",
|
||||||
position: !headingMode ? "absolute" : "unset",
|
position: !headingMode ? "absolute" : "unset",
|
||||||
top: style['top'],
|
top: style['top'],
|
||||||
marginTop: !headingMode ? style['marginTop'] : "10px",
|
marginTop: !headingMode ? style['marginTop'] : "10px",
|
||||||
|
Loading…
Reference in New Issue
Block a user