fix hashtag search styles
This commit is contained in:
parent
9d9549532b
commit
8525966d90
1 changed files with 11 additions and 5 deletions
|
@ -119,10 +119,13 @@
|
|||
:key="hashtag.url"
|
||||
class="status trend search-result"
|
||||
>
|
||||
<div class="hashtag">
|
||||
<router-link :to="{ name: 'tag-timeline', params: { tag: hashtag.name } }">
|
||||
<router-link
|
||||
class="list-item hashtag"
|
||||
:to="{ name: 'tag-timeline', params: { tag: hashtag.name } }"
|
||||
>
|
||||
<span class="name">
|
||||
#{{ hashtag.name }}
|
||||
</router-link>
|
||||
</span>
|
||||
<div v-if="lastHistoryRecord(hashtag)">
|
||||
<span v-if="lastHistoryRecord(hashtag).accounts == 1">
|
||||
{{ $t('search.person_talking', { count: lastHistoryRecord(hashtag).accounts }) }}
|
||||
|
@ -131,7 +134,7 @@
|
|||
{{ $t('search.people_talking', { count: lastHistoryRecord(hashtag).accounts }) }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</router-link>
|
||||
<div
|
||||
v-if="lastHistoryRecord(hashtag)"
|
||||
class="count"
|
||||
|
@ -199,10 +202,13 @@
|
|||
|
||||
.hashtag {
|
||||
flex: 1 1 auto;
|
||||
color: var(--text);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
.name {
|
||||
color: var(--link);
|
||||
}
|
||||
}
|
||||
|
||||
.count {
|
||||
|
|
Loading…
Add table
Reference in a new issue