diff --git a/apps/renderer/src/modules/entry-column/Items/picture-masonry.tsx b/apps/renderer/src/modules/entry-column/Items/picture-masonry.tsx index 9ddbbe495..2159602c2 100644 --- a/apps/renderer/src/modules/entry-column/Items/picture-masonry.tsx +++ b/apps/renderer/src/modules/entry-column/Items/picture-masonry.tsx @@ -230,7 +230,7 @@ export const PictureMasonry: FC = (props) => { }, [scrollElement, renderMarkRead, scrollMarkRead, dataRef]) return ( -
+
{isInitDim && isInitLayout && ( diff --git a/apps/renderer/src/modules/entry-column/index.tsx b/apps/renderer/src/modules/entry-column/index.tsx index 03ce88c1a..fd4da08b5 100644 --- a/apps/renderer/src/modules/entry-column/index.tsx +++ b/apps/renderer/src/modules/entry-column/index.tsx @@ -5,7 +5,7 @@ import { ScrollArea } from "@follow/components/ui/scroll-area/index.js" import { FeedViewType, views } from "@follow/constants" import { useTitle, useTypeScriptHappyCallback } from "@follow/hooks" import type { FeedModel } from "@follow/models/types" -import { cn, isBizId } from "@follow/utils/utils" +import { clsx, cn, isBizId } from "@follow/utils/utils" import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react" import { useTranslation } from "react-i18next" import type { @@ -130,7 +130,7 @@ function EntryColumnImpl() { /> ) } - }, [isFetchingNextPage, view, unreadOnly, isArchived, entries]), + }, [isFetchingNextPage, showArchivedButton, t, view, entries.data?.pages]), ScrollSeekPlaceholder: useCallback(() => , [view]), }, scrollSeekConfiguration, @@ -209,7 +209,7 @@ function EntryColumnImpl() { scrollbarClassName={cn("mt-3", !views[view].wideMode ? "w-[5px] p-0" : "")} mask={false} ref={scrollRef} - rootClassName="h-full" + rootClassName={clsx("h-full", views[view].wideMode ? "mt-2" : "")} viewportClassName="[&>div]:grow flex" > {virtuosoOptions.totalCount === 0 && !showArchivedButton ? ( diff --git a/apps/renderer/src/modules/entry-column/layouts/TimelineTabs.tsx b/apps/renderer/src/modules/entry-column/layouts/TimelineTabs.tsx index 36adcbe64..13f441110 100644 --- a/apps/renderer/src/modules/entry-column/layouts/TimelineTabs.tsx +++ b/apps/renderer/src/modules/entry-column/layouts/TimelineTabs.tsx @@ -29,7 +29,7 @@ export const TimelineTabs = () => { return ( { if (!val) { @@ -41,7 +41,7 @@ export const TimelineTabs = () => { } }} > - + Yours