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

View file

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