File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed
Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -72,19 +72,16 @@ const head = computed(() => appStore.head)
7272 </Flex >
7373
7474 <Tooltip position =" end" >
75- <Flex align =" center" gap =" 6 " :class =" $style.network" >
76- <Icon name = " zap " size = " 12 " :color = " head.synced ? ' green' : ' red' " />
75+ <Flex align =" center" gap =" 8 " :class =" $style.network" >
76+ <div :class = " [$style.status, head.synced ? $style. green : $style. red] " />
7777 <Text size =" 12" weight =" 500" color =" tertiary" :class =" $style.name" > {{ getNetworkName() }} </Text >
7878 </Flex >
7979
8080 <template #content >
81- <Flex align =" center" gap =" 6" >
82- <Text color =" secondary" >Current Network:</Text >
83- <Flex align =" center" gap =" 4" >
84- <Icon name =" zap" size =" 12" :color =" head.synced ? 'green' : 'red'" />
85- <template v-if =" ! head .synced " >Not</template >
86- <Text color =" primary" > Synced </Text >
87- </Flex >
81+ <Flex align =" center" gap =" 4" >
82+ <div :class =" [$style.status, head.synced ? $style.green : $style.red]" />
83+ <template v-if =" ! head .synced " >Not</template >
84+ <Text color =" primary" > Synced </Text >
8885 </Flex >
8986 </template >
9087 </Tooltip >
@@ -152,6 +149,20 @@ const head = computed(() => appStore.head)
152149 }
153150}
154151
152+ .status {
153+ width : 5px ;
154+ height : 5px ;
155+ border-radius : 50px ;
156+
157+ &.green {
158+ background : var (--green );
159+ }
160+
161+ &.red {
162+ background : var (--red );
163+ }
164+ }
165+
155166@media (max-width : 900px ) {
156167 .wrapper {
157168 height : initial ;
You can’t perform that action at this time.
0 commit comments