Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Truncate global audio text to two lines (#773)

Zack Kridaba979a0f6d08
diff --git a/src/components/VAudioTrack/layouts/VGlobalLayout.vue b/src/components/VAudioTrack/layouts/VGlobalLayout.vue
index 2bae4ba4c..a7e07485a 100644
--- a/src/components/VAudioTrack/layouts/VGlobalLayout.vue
+++ b/src/components/VAudioTrack/layouts/VGlobalLayout.vue
@@ -7,7 +7,7 @@
<div class="relative flex-grow">
<div
- class="absolute inset-x-0 z-10 top-4 px-4 flex flex-row items-center justify-between"
+ class="absolute inset-x-0 z-10 top-[10.5px] px-4 flex flex-row items-center justify-between line-clamp-2 pe-12"
>
<p class="text-sr font-semibold">{{ audio.title }}</p>
</div>