Cut video titles when they exceed 2 lines

This commit is contained in:
IceDBorn 2021-09-12 19:50:42 +03:00
parent 0fd2ad0ea0
commit 1e85766a0f

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;">{{ video.title }}</p>
</div>
</router-link>