diff --git a/apps/renderer/src/modules/timeline-column/TimelineSwitchButton.tsx b/apps/renderer/src/modules/timeline-column/TimelineSwitchButton.tsx index 8f2ce380a..33c9e8c8c 100644 --- a/apps/renderer/src/modules/timeline-column/TimelineSwitchButton.tsx +++ b/apps/renderer/src/modules/timeline-column/TimelineSwitchButton.tsx @@ -84,6 +84,7 @@ const ViewSwitchButton: FC<{ ELECTRON ? "hover:!bg-theme-item-hover" : "", isOver && "border-theme-accent-400 bg-theme-accent-400/60", )} + size="lg" onClick={(e) => { startTransition(() => { setActive() @@ -151,6 +152,7 @@ const ListSwitchButton: FC<{ "hover:!bg-theme-item-hover", isActive && "!bg-theme-item-active grayscale-0", )} + size="lg" onClick={handleNavigate} {...contextMenuProps} > @@ -201,6 +203,7 @@ const InboxSwitchButton: FC<{ ELECTRON ? "hover:!bg-theme-item-hover" : "", isActive && "text-black dark:text-white", )} + size="lg" onClick={handleNavigate} > diff --git a/apps/renderer/src/modules/timeline-column/index.module.css b/apps/renderer/src/modules/timeline-column/index.module.css index 38702d90e..daeb7794b 100644 --- a/apps/renderer/src/modules/timeline-column/index.module.css +++ b/apps/renderer/src/modules/timeline-column/index.module.css @@ -15,7 +15,7 @@ mask: linear-gradient(to right, white, transparent) 0 50% / 0.8rem 100% no-repeat, linear-gradient(white, white) 50% 50% / 100% 100% no-repeat, - linear-gradient(to right, transparent, white) 100% 50% / 0.8rem 100% no-repeat; + linear-gradient(to right, transparent, white) 100% 50% / 1.6rem 100% no-repeat; mask-composite: exclude; animation: mask-left both linear, diff --git a/apps/renderer/src/modules/timeline-column/index.tsx b/apps/renderer/src/modules/timeline-column/index.tsx index 63ddf167c..aa222fdef 100644 --- a/apps/renderer/src/modules/timeline-column/index.tsx +++ b/apps/renderer/src/modules/timeline-column/index.tsx @@ -215,18 +215,18 @@ const TimelineSelector = ({ timelineId }: { timelineId: string | undefined }) => ref={scrollRef} className={clsx( styles["mask-scroller"], - "flex h-11 justify-between gap-2 overflow-auto px-3 text-xl text-theme-vibrancyFg scrollbar-none", + "flex h-11 justify-between gap-0.5 overflow-auto px-2 text-xl text-theme-vibrancyFg scrollbar-none", )} > {timelineList.views.map((timelineId) => ( ))} - {timelineList.inboxes.length > 0 && } + {timelineList.inboxes.length > 0 && } {timelineList.inboxes.map((timelineId) => ( ))} - {timelineList.lists.length > 0 && } + {timelineList.lists.length > 0 && } {timelineList.lists.map((timelineId) => ( ))} diff --git a/apps/renderer/src/store/subscription/hooks.ts b/apps/renderer/src/store/subscription/hooks.ts index ecba91ee2..32a3bd963 100644 --- a/apps/renderer/src/store/subscription/hooks.ts +++ b/apps/renderer/src/store/subscription/hooks.ts @@ -35,7 +35,12 @@ export const useViewWithSubscription = () => useSubscriptionStore( useCallback((state) => { return viewList.filter((view) => { - if (view === FeedViewType.Articles) { + if ( + view === FeedViewType.Articles || + view === FeedViewType.SocialMedia || + view === FeedViewType.Pictures || + view === FeedViewType.Videos + ) { return true } else { return state.feedIdByView[view].length > 0 diff --git a/packages/components/src/ui/button/action-button.tsx b/packages/components/src/ui/button/action-button.tsx index 91644dd1c..5da02f527 100644 --- a/packages/components/src/ui/button/action-button.tsx +++ b/packages/components/src/ui/button/action-button.tsx @@ -19,7 +19,7 @@ export interface ActionButtonProps { shortcut?: string disableTriggerShortcut?: boolean enableHoverableContent?: boolean - size?: "sm" | "base" + size?: "sm" | "base" | "lg" /** * @description only trigger shortcut when focus with in `` @@ -30,6 +30,7 @@ export interface ActionButtonProps { const actionButtonStyleVariant = { size: { + lg: tw`text-xl size-10`, base: tw`text-xl size-8`, sm: tw`text-sm size-6`, },