Skip to content

Commit 129b5a1

Browse files
committed
rm tooltip about % && add utia for gas fee
1 parent 0a28a0c commit 129b5a1

File tree

3 files changed

+8
-24
lines changed

3 files changed

+8
-24
lines changed

components/modules/gas/GasFeeCalculator.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const gasFee = computed(() => {
7777
.toFixed(4)
7878
.replace(/\.?0*$/, "")
7979
}}
80-
<Text color="secondary">UTIA</Text>
80+
<Text size="10" color="secondary">UTIA</Text>
8181
</Text>
8282
<CopyButton :text="appStore.gas.fast" size="10" />
8383
</Flex>
@@ -95,7 +95,7 @@ const gasFee = computed(() => {
9595
.toFixed(4)
9696
.replace(/\.?0*$/, "")
9797
}}
98-
<Text color="secondary">UTIA</Text>
98+
<Text size="10" color="secondary">UTIA</Text>
9999
</Text>
100100
<CopyButton :text="appStore.gas.median" size="10" />
101101
</Flex>
@@ -113,7 +113,7 @@ const gasFee = computed(() => {
113113
.toFixed(4)
114114
.replace(/\.?0*$/, "")
115115
}}
116-
<Text color="secondary">UTIA</Text>
116+
<Text size="10" color="secondary">UTIA</Text>
117117
</Text>
118118
<CopyButton :text="appStore.gas.slow" size="10" />
119119
</Flex>
@@ -149,8 +149,8 @@ const gasFee = computed(() => {
149149

150150
<Flex v-if="gasLimit && gasFee.fast" align="center" gap="6">
151151
<Text size="12" weight="600" color="primary">
152-
{{ comma(gasFee.fast, " ") }}
153-
</Text>
152+
{{ comma(gasFee.fast, " ") }} <Text size="10" color="secondary">UTIA </Text></Text
153+
>
154154
<CopyButton :text="gasFee.fast" size="10" />
155155
</Flex>
156156
<Text v-else size="12" weight="600" color="tertiary"> 0 </Text>
@@ -160,7 +160,7 @@ const gasFee = computed(() => {
160160

161161
<Flex v-if="gasLimit && gasFee.median" align="center" gap="6">
162162
<Text size="12" weight="600" color="primary">
163-
{{ comma(gasFee.median, " ") }}
163+
{{ comma(gasFee.median, " ") }} <Text size="10" color="secondary">UTIA </Text>
164164
</Text>
165165
<CopyButton :text="gasFee.median" size="10" />
166166
</Flex>
@@ -171,7 +171,7 @@ const gasFee = computed(() => {
171171

172172
<Flex v-if="gasLimit && gasFee.slow" align="center" gap="6">
173173
<Text size="12" weight="600" color="primary">
174-
{{ comma(gasFee.slow, " ") }}
174+
{{ comma(gasFee.slow, " ") }} <Text size="10" color="secondary">UTIA </Text>
175175
</Text>
176176
<CopyButton :text="gasFee.slow" size="10" />
177177
</Flex>

components/widgets/GasWidget.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ onMounted(async () => {
2929

3030
<template #content>
3131
<Flex direction="column" gap="6" style="max-width: 230px; text-align: end">
32-
<Text color="secondary" height="140">Fast - 99%, Median - 50%, Slow - 10%</Text>
33-
<Text color="tertiary" height="140">Gas price is calculated on fee payments for the last 100 blocks. </Text>
32+
<Text color="secondary" height="140">Gas price is calculated on fee payments for the last 100 blocks. </Text>
3433
<Text color="tertiary" height="140">
3534
Each gas price level is the percentage of transactions in which gas price was set below a specified value</Text
3635
>

pages/gas.vue

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -112,21 +112,6 @@ useHead({
112112
<GasFeeCalculator />
113113

114114
<Flex direction="column" gap="8" :class="$style.bottom">
115-
<Flex align="center" gap="12">
116-
<Flex align="center" gap="6">
117-
<Icon name="gas_fast" size="12" color="secondary" />
118-
<Text size="12" weight="600" color="secondary"> Fast <Text color="primary">99%</Text></Text>
119-
</Flex>
120-
<Flex align="center" gap="6">
121-
<Icon name="gas_median" size="12" color="secondary" />
122-
<Text size="12" weight="600" color="secondary"> Median <Text color="primary">50%</Text></Text>
123-
</Flex>
124-
<Flex align="center" gap="6">
125-
<Icon name="gas_slow" size="12" color="secondary" />
126-
<Text size="12" weight="600" color="secondary"> Slow <Text color="primary">10%</Text></Text>
127-
</Flex>
128-
</Flex>
129-
130115
<Text size="12" weight="600" color="tertiary" height="140">
131116
Price is calculated on fee payments for the last <Text color="secondary">100</Text> blocks. Each gas price level
132117
is the percentage of transactions in which gas price was set below a specified value

0 commit comments

Comments
 (0)