Skip to content

Commit 17e1feb

Browse files
committed
chore: update the theme of dropdown menu on articles page (for dark mode)
1 parent 84efd0a commit 17e1feb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/(app)/articles/_client.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,10 @@ const ArticlesPage = () => {
7979
<select
8080
id="filter"
8181
name="filter"
82-
className="mt-2 block w-full rounded border-neutral-300 py-1 pl-3 pr-10 text-sm leading-6 focus:ring-2 focus:ring-pink-600 dark:border-neutral-600"
82+
className="mt-2 dark:bg-neutral-800 block w-full rounded border-neutral-300 py-1 pl-3 pr-10 text-sm leading-6 focus:ring-2 focus:ring-pink-600 dark:border-neutral-600"
8383
onChange={(e) => {
8484
router.push(
85-
`/articles?filter=${e.target.value}${
86-
tag ? `&tag=${tag}` : ""
85+
`/articles?filter=${e.target.value}${tag ? `&tag=${tag}` : ""
8786
}`,
8887
);
8988
}}

0 commit comments

Comments
 (0)