Skip to content

Commit 6e6fe7e

Browse files
committed
チャットリストの見た目を改善
1 parent 0792753 commit 6e6fe7e

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

app/(docs)/@docs/[lang]/[pageId]/pageContent.tsx

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -254,20 +254,19 @@ function ChatListForSection(props: {
254254
chatId === null ? "hidden lg:block" : "hidden",
255255
"mt-2 ml-4 max-w-60",
256256
"menu menu-sm",
257-
"border border-base-content/10 rounded-sm shadow-sm bg-base-200"
257+
"rounded-lg shadow-sm bg-base-200"
258258
)}
259259
>
260260
<li className="menu-title flex-row items-center gap-1">
261261
<ChatIcon />
262262
AIへの質問
263+
<span className="badge badge-sm badge-soft badge-secondary">
264+
{filteredChatHistories.length}
265+
</span>
263266
</li>
264267
{filteredChatHistories.map(({ title, chatId }) => (
265268
<li key={chatId} className="">
266-
<Link
267-
className="link link-info"
268-
href={`/chat/${chatId}`}
269-
scroll={false}
270-
>
269+
<Link href={`/chat/${chatId}`} scroll={false}>
271270
{title}
272271
</Link>
273272
</li>
@@ -289,16 +288,12 @@ function ChatListForSection(props: {
289288
className={clsx(
290289
"menu menu-sm dropdown-content",
291290
"w-max max-w-[75vw]",
292-
"border border-base-content/10 rounded-sm shadow-sm bg-base-200"
291+
"rounded-lg shadow-sm bg-base-200/60 backdrop-blur-xs"
293292
)}
294293
>
295294
{filteredChatHistories.map(({ title, chatId }) => (
296295
<li key={chatId} className="">
297-
<Link
298-
className="link link-info"
299-
href={`/chat/${chatId}`}
300-
scroll={false}
301-
>
296+
<Link href={`/chat/${chatId}`} scroll={false}>
302297
{title}
303298
</Link>
304299
</li>

0 commit comments

Comments
 (0)