From 9dc8be4f8410f897fc34819f01778f740aba2494 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 16 Apr 2024 14:25:06 +0800 Subject: [PATCH] feat: dynamic width for entry column --- src/renderer/src/components/entry-column/social-media-item.tsx | 2 +- src/renderer/src/pages/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/entry-column/social-media-item.tsx b/src/renderer/src/components/entry-column/social-media-item.tsx index f070bde10b..c99cd503d4 100644 --- a/src/renderer/src/components/entry-column/social-media-item.tsx +++ b/src/renderer/src/components/entry-column/social-media-item.tsx @@ -12,7 +12,7 @@ export function SocialMediaItem({ className="w-5 h-5 mr-2 rounded-sm shrink-0" />
-
+
{entry.author} ยท diff --git a/src/renderer/src/pages/index.tsx b/src/renderer/src/pages/index.tsx index aa1681f756..e628b6b8bc 100644 --- a/src/renderer/src/pages/index.tsx +++ b/src/renderer/src/pages/index.tsx @@ -2,6 +2,7 @@ import { FeedColumn } from '@renderer/components/feed-column' import { EntryColumn } from '@renderer/components/entry-column' import { useState } from 'react' import { ActivedList } from '@renderer/lib/types' +import { cn } from '@renderer/lib/utils' export function Component() { const [activedList, setActivedList] = useState(null) @@ -12,7 +13,7 @@ export function Component() {
setActivedList(null)}>
-
+
Three