mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-25 15:54:43 +00:00
TLS icon position
This commit is contained in:
parent
f8c0ddd69a
commit
697bfef861
@ -66,8 +66,10 @@
|
|||||||
margin-top: -60px
|
margin-top: -60px
|
||||||
|
|
||||||
.capture img
|
.capture img
|
||||||
height: 20px
|
height: 14px
|
||||||
z-index: 1000
|
z-index: 1000
|
||||||
|
margin-top: 12px
|
||||||
|
margin-left: -2px
|
||||||
|
|
||||||
.endpointServiceContainer
|
.endpointServiceContainer
|
||||||
display: flex
|
display: flex
|
||||||
|
@ -140,8 +140,6 @@ export const EntryItem: React.FC<EntryProps> = ({entry, style, headingMode}) =>
|
|||||||
|
|
||||||
|
|
||||||
const isStatusCodeEnabled = ((entry.proto.name === "http" && "status" in entry) || entry.status !== 0);
|
const isStatusCodeEnabled = ((entry.proto.name === "http" && "status" in entry) || entry.status !== 0);
|
||||||
let endpointServiceContainer = "10px";
|
|
||||||
if (!isStatusCodeEnabled) endpointServiceContainer = "20px";
|
|
||||||
|
|
||||||
return <React.Fragment>
|
return <React.Fragment>
|
||||||
<div
|
<div
|
||||||
@ -178,7 +176,7 @@ export const EntryItem: React.FC<EntryProps> = ({entry, style, headingMode}) =>
|
|||||||
{isStatusCodeEnabled && <div>
|
{isStatusCodeEnabled && <div>
|
||||||
<StatusCode statusCode={entry.status} statusQuery={entry.statusQuery}/>
|
<StatusCode statusCode={entry.status} statusQuery={entry.statusQuery}/>
|
||||||
</div>}
|
</div>}
|
||||||
<div className={styles.endpointServiceContainer} style={{paddingLeft: endpointServiceContainer}}>
|
<div className={styles.endpointServiceContainer} style={{paddingLeft: 10}}>
|
||||||
<Summary method={entry.method} methodQuery={entry.methodQuery} summary={entry.summary} summaryQuery={entry.summaryQuery}/>
|
<Summary method={entry.method} methodQuery={entry.methodQuery} summary={entry.summary} summaryQuery={entry.summaryQuery}/>
|
||||||
<div className={styles.resolvedName}>
|
<div className={styles.resolvedName}>
|
||||||
<Queryable
|
<Queryable
|
||||||
|
@ -54,7 +54,7 @@ const Protocol: React.FC<ProtocolProps> = ({protocol, horizontal}) => {
|
|||||||
backgroundColor: protocol.backgroundColor,
|
backgroundColor: protocol.backgroundColor,
|
||||||
color: protocol.foregroundColor,
|
color: protocol.foregroundColor,
|
||||||
fontSize: protocol.fontSize,
|
fontSize: protocol.fontSize,
|
||||||
marginRight: "-20px",
|
marginRight: "-6px",
|
||||||
}}
|
}}
|
||||||
title={protocol.longName}
|
title={protocol.longName}
|
||||||
>
|
>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
text-align: center
|
text-align: center
|
||||||
line-height: 22px
|
line-height: 22px
|
||||||
font-weight: 600
|
font-weight: 600
|
||||||
margin-left: 8px
|
margin-left: 3px
|
||||||
|
|
||||||
.neutral
|
.neutral
|
||||||
background: gray
|
background: gray
|
||||||
|
Loading…
Reference in New Issue
Block a user