Cut video titles when they exceed 2 lines (#445)

* Cut video titles when they exceed 2 lines

* Add tooltip to reveal full title on hover
This commit is contained in:
IceDBorn 2021-09-12 20:02:59 +03:00 committed by GitHub
parent 0fd2ad0ea0
commit c9a82f3ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@
</div>
<div>
<p class="uk-text-break" style="padding-top: 0.5rem; margin-bottom: 0.5rem">{{ video.title }}</p>
<p style="padding-top: 0.5rem; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;" :title="video.title">{{ video.title }}</p>
</div>
</router-link>