fix: 🐛 Fix missing custom scrollbars in places

This commit is contained in:
Jesse Wierzbinski 2024-05-11 18:46:37 -10:00
parent 2cc3d2ea7a
commit 5c416ce793
No known key found for this signature in database
4 changed files with 9 additions and 7 deletions

View file

@ -1,14 +1,15 @@
<template>
<div class="max-h-dvh overflow-y-scroll w-full">
<SocialElementsUsersAccount :account="account ?? undefined" />
<OverlayScrollbarsComponent class="max-h-dvh overflow-y-auto w-full">
<TimelinesTimelineScroller>
<SocialElementsUsersAccount :account="account ?? undefined" />
<TimelinesAccount :id="accountId" :key="accountId" />
</TimelinesTimelineScroller>
</div>
</OverlayScrollbarsComponent>
</template>
<script setup lang="ts">
import type { Account } from "~/types/mastodon/account";
import { OverlayScrollbarsComponent } from "#imports";
definePageMeta({
layout: "app",

View file

@ -1,12 +1,13 @@
<template>
<div class="max-h-dvh overflow-y-scroll">
<OverlayScrollbarsComponent :defer="true" class="max-h-dvh overflow-y-auto">
<TimelinesTimelineScroller>
<TimelinesPublic />
</TimelinesTimelineScroller>
</div>
</OverlayScrollbarsComponent>
</template>
<script setup lang="ts">
import { OverlayScrollbarsComponent } from "#imports";
definePageMeta({
layout: "app",
});