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
>
</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 }}
</div>
<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;
display: -webkit-box;
-webkit-box-orient: vertical;