Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Mizu
Commits
63f68779
Unverified
Commit
63f68779
authored
3 years ago
by
lirazyehezkel
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Broken icons when mizu disconnect (#419)
parent
655626bc
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ui/src/components/TrafficPage.tsx
+4
-2
ui/src/components/TrafficPage.tsx
ui/src/components/style/TrafficPage.sass
+5
-0
ui/src/components/style/TrafficPage.sass
with
9 additions
and
2 deletions
+9
-2
ui/src/components/TrafficPage.tsx
+
4
-
2
View file @
63f68779
...
...
@@ -176,8 +176,10 @@ export const TrafficPage: React.FC<TrafficPageProps> = ({setAnalyzeStatus, onTLS
return
(
<
div
className
=
"TrafficPage"
>
<
div
className
=
"TrafficPageHeader"
>
<
img
style
=
{
{
cursor
:
"
pointer
"
,
marginRight
:
15
,
height
:
30
}
}
alt
=
"pause"
src
=
{
connection
===
ConnectionStatus
.
Connected
?
pauseIcon
:
playIcon
}
onClick
=
{
toggleConnection
}
/>
<
img
className
=
"playPauseIcon"
style
=
{
{
visibility
:
connection
===
ConnectionStatus
.
Connected
?
"
visible
"
:
"
hidden
"
}
}
alt
=
"pause"
src
=
{
pauseIcon
}
onClick
=
{
toggleConnection
}
/>
<
img
className
=
"playPauseIcon"
style
=
{
{
position
:
"
absolute
"
,
visibility
:
connection
===
ConnectionStatus
.
Connected
?
"
hidden
"
:
"
visible
"
}
}
alt
=
"play"
src
=
{
playIcon
}
onClick
=
{
toggleConnection
}
/>
<
div
className
=
"connectionText"
>
{
getConnectionTitle
()
}
<
div
className
=
{
"
indicatorContainer
"
+
getConnectionStatusClass
(
true
)
}
>
...
...
This diff is collapsed.
Click to expand it.
ui/src/components/style/TrafficPage.sass
+
5
-
0
View file @
63f68779
...
...
@@ -110,3 +110,8 @@
align-items
:
center
height
:
17px
font-size
:
16px
.playPauseIcon
cursor
:
pointer
margin-right
:
15px
height
:
30px
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help