This commit is contained in:
syuilo 2018-06-11 14:16:21 +09:00
parent 0e9a1efe46
commit bb53db905f

View file

@ -8,7 +8,7 @@
<div v-else> <div v-else>
<div v-for="stat in stats" :key="stat.tag"> <div v-for="stat in stats" :key="stat.tag">
<div class="tag"> <div class="tag">
<router-link :to="`/tags/${ stat.tag }`">#{{ stat.tag }}</router-link> <router-link :to="`/tags/${ stat.tag }`" :title="stat.tag">#{{ stat.tag }}</router-link>
<p>{{ '%i18n:@count%'.replace('{}', stat.usersCount) }}</p> <p>{{ '%i18n:@count%'.replace('{}', stat.usersCount) }}</p>
</div> </div>
<x-chart class="chart" :src="stat.chart"/> <x-chart class="chart" :src="stat.chart"/>
@ -84,10 +84,16 @@ root(isDark)
> .tag > .tag
flex 1 flex 1
overflow hidden
font-size 14px font-size 14px
color isDark ? #9baec8 : #65727b color isDark ? #9baec8 : #65727b
> a > a
display block
width 100%
white-space nowrap
overflow hidden
text-overflow ellipsis
color inherit color inherit
> p > p