Skip to content

Commit 3229190

Browse files
committed
fix(Feed): rm zap icon
1 parent 3d2ef09 commit 3229190

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

components/Feed.vue

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)