Fix ellipsis in DiscussionListView

Regression from 1.2.0

Closes #750

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-30 15:30:44 +02:00
parent af77aff84c
commit f63c81efbd
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -32,7 +32,10 @@
}}</span }}</span
> >
</div> </div>
<div class="has-text-grey-dark" v-if="!discussion.lastComment.deletedAt"> <div
class="ellipsis has-text-grey-dark"
v-if="!discussion.lastComment.deletedAt"
>
{{ htmlTextEllipsis }} {{ htmlTextEllipsis }}
</div> </div>
<div v-else class="has-text-grey-dark"> <div v-else class="has-text-grey-dark">
@ -105,7 +108,7 @@ export default class DiscussionListItem extends Vue {
} }
} }
div.has-text-grey { div.ellipsis {
overflow: hidden; overflow: hidden;
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;