Skip to content

Commit 17cf5c7

Browse files
committed
format the files
1 parent 79135da commit 17cf5c7

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app/(app)/articles/_client.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ const ArticlesPage = () => {
7979
<select
8080
id="filter"
8181
name="filter"
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"
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 dark:bg-neutral-800"
8383
onChange={(e) => {
8484
router.push(
85-
`/articles?filter=${e.target.value}${tag ? `&tag=${tag}` : ""
85+
`/articles?filter=${e.target.value}${
86+
tag ? `&tag=${tag}` : ""
8687
}`,
8788
);
8889
}}

app/(app)/create/[[...paramsArr]]/_client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ const Create = ({ session }: { session: Session }) => {
638638
<div className="h-full px-4 py-0 sm:px-6 lg:px-4 lg:py-6 ">
639639
{/* Start main area*/}
640640
<div className="relative h-full">
641-
<div className="bg-white text-white shadow dark:bg-neutral-900">
641+
<div className="bg-white text-black shadow dark:bg-neutral-900 dark:text-white">
642642
{viewPreview ? (
643643
<section className="mx-auto max-w-xl px-4 py-6 pb-4 sm:p-6 lg:pb-8">
644644
<article

components/Tabs/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function Tabs(props: Props) {
2929
<select
3030
id="tabs"
3131
name="tabs"
32-
className="block w-full bg-white dark:bg-neutral-900 rounded-md border-neutral-300 focus:border-neutral-500 focus:ring-neutral-500"
32+
className="block w-full rounded-md border-neutral-300 bg-white focus:border-neutral-500 focus:ring-neutral-500 dark:bg-neutral-900"
3333
defaultValue={tabs.find((tab) => tab.current)?.name || tabs[0].name}
3434
onChange={(e) => {
3535
router.push(e.target.value);

0 commit comments

Comments
 (0)