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

@ -8,7 +8,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import type { ButtonHTMLAttributes } from "vue"; import type { ButtonHTMLAttributes } from "vue";
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes { } interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
defineProps< defineProps<
Props & { Props & {

View file

@ -214,7 +214,7 @@ const signOut = async () => {
tokenData.value.access_token, tokenData.value.access_token,
tokenData.value.access_token, tokenData.value.access_token,
) )
.catch(() => { }); .catch(() => {});
tokenData.value = null; tokenData.value = null;
me.value = null; me.value = null;

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",
}); });