mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-07-07 03:59:53 +00:00
fix playlist height and overflow
only scroll if it exceeds the max height
This commit is contained in:
parent
ae48fcaf54
commit
34b813ecd8
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<router-link :to="{path:'/playlist',query:{list:playlistId}}"
|
<router-link :to="{ path: '/playlist', query: { list: playlistId } }"
|
||||||
><h1 class="font-bold !text-lg hover:underline" v-text="playlist.name"
|
><h1 class="font-bold !text-lg hover:underline" v-text="playlist.name"
|
||||||
/></router-link>
|
/></router-link>
|
||||||
<span class="text-sm">
|
<span class="text-sm">
|
||||||
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user