fix playlist height and overflow

only scroll if it exceeds the max height
This commit is contained in:
nieve 2024-08-26 16:02:15 -04:00
parent ae48fcaf54
commit 34b813ecd8

View File

@ -10,7 +10,7 @@
- {{ selectedIndex }} / {{ playlist.videos }} - {{ selectedIndex }} / {{ playlist.videos }}
</span> </span>
</div> </div>
<div ref="scrollable" class="mt-4 h-screen-sm overflow-y-scroll"> <div ref="scrollable" class="mt-4 max-h-screen-sm overflow-y-auto">
<div <div
v-for="(related, index) in playlist.relatedStreams" v-for="(related, index) in playlist.relatedStreams"
:key="related.url" :key="related.url"