mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-21 21:03:00 -05:00
Fix layout issues with following streamer scroll
This commit is contained in:
parent
f4195da002
commit
7431b7f1bf
1 changed files with 3 additions and 3 deletions
|
@ -112,16 +112,16 @@ export default {
|
|||
<error-message ></error-message>
|
||||
</div>
|
||||
|
||||
<div v-show="data" class="max-w-5xl mx-auto">
|
||||
<div v-show="data" class="max-w-5xl w-[100vw] mx-auto">
|
||||
<vue-title title="Discover"></vue-title>
|
||||
<div v-if="following && following.length > 0" class="p-2 text-contrast">
|
||||
<h1 class="font-bold text-5xl">{{ $t('home.following') }}</h1>
|
||||
<p class="text-xl">{{ $t('home.streamersYouFollow') }}</p>
|
||||
<ul
|
||||
class="flex flex-nowrap justify-begin overflow-x-scroll overflow-y-hidden space-x-2 mt-1 h-[19rem] items-center"
|
||||
class="overflow-x-auto whitespace-nowrap"
|
||||
@scroll="handleFollowingScroll"
|
||||
>
|
||||
<li v-for="streamer in followingStreaming" :key="streamer" class="inline-block">
|
||||
<li v-for="streamer in followingStreaming" :key="streamer" class="mr-2 inline-block">
|
||||
<stream-preview-vue :name="streamer"></stream-preview-vue>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue