From 8b9fccf3d2ed38445790b83936b0600baec821ba Mon Sep 17 00:00:00 2001 From: Jeon Date: Sun, 30 Jul 2023 01:18:32 +0900 Subject: [PATCH 1/3] fix: remove fit-content --- .../AlcoholCategoryFilter/AlcoholCategoryFilter.module.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/features/search/components/AlcoholCategoryFilter/AlcoholCategoryFilter.module.scss b/src/features/search/components/AlcoholCategoryFilter/AlcoholCategoryFilter.module.scss index c8875df0..c2b8f55b 100644 --- a/src/features/search/components/AlcoholCategoryFilter/AlcoholCategoryFilter.module.scss +++ b/src/features/search/components/AlcoholCategoryFilter/AlcoholCategoryFilter.module.scss @@ -2,7 +2,6 @@ .alcohol-category-filter { display: flex; - width: fit-content; min-width: 100%; padding: 12px 31px; } From 5f7186db480bcfd0b5b237357aac44e85f07a524 Mon Sep 17 00:00:00 2001 From: Shin Wonse <62709718+shinwonse@users.noreply.github.com> Date: Sun, 30 Jul 2023 11:39:43 +0900 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20cursor=20=EC=B4=88=EA=B8=B0=20?= =?UTF-8?q?=EA=B0=92=EC=9D=80=20Null=EA=B0=92=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=84=98=EA=B2=A8=EC=A4=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared/apis/records/searchMyRecords.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/apis/records/searchMyRecords.ts b/src/shared/apis/records/searchMyRecords.ts index bb50e024..b5027ff2 100644 --- a/src/shared/apis/records/searchMyRecords.ts +++ b/src/shared/apis/records/searchMyRecords.ts @@ -34,7 +34,7 @@ export const useSearchMyRecords = createInfiniteQuery({ queryFn: ({ queryKey: [, { keyword }], pageParam }) => { return searchMyRecords({ keyword, - cursor: pageParam || 1, + cursor: pageParam || null, limit: SEARCH_MY_RECORDS_LIMIT, }); }, From df7d835026d583245af3419af3870d3e5ba03110 Mon Sep 17 00:00:00 2001 From: Shin Wonse <62709718+shinwonse@users.noreply.github.com> Date: Sun, 30 Jul 2023 12:02:13 +0900 Subject: [PATCH 3/3] =?UTF-8?q?style:=20=EB=82=98=EC=9D=98=20=EA=B2=BD?= =?UTF-8?q?=ED=97=98=20=EC=B9=B4=EB=93=9C=20=EA=B0=84=EA=B2=A9=20=EC=A1=B0?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MyRecordSearchResult/MyRecordSearchResult.module.scss | 4 ++++ .../components/MyRecordSearchResult/MyRecordSearchResult.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/features/search/components/MyRecordSearchResult/MyRecordSearchResult.module.scss b/src/features/search/components/MyRecordSearchResult/MyRecordSearchResult.module.scss index cdaa4afb..ed4ad028 100644 --- a/src/features/search/components/MyRecordSearchResult/MyRecordSearchResult.module.scss +++ b/src/features/search/components/MyRecordSearchResult/MyRecordSearchResult.module.scss @@ -30,3 +30,7 @@ } } } + +.record-card { + margin-top: 12px; +} diff --git a/src/features/search/components/MyRecordSearchResult/MyRecordSearchResult.tsx b/src/features/search/components/MyRecordSearchResult/MyRecordSearchResult.tsx index af2a1e70..5ba9b4eb 100644 --- a/src/features/search/components/MyRecordSearchResult/MyRecordSearchResult.tsx +++ b/src/features/search/components/MyRecordSearchResult/MyRecordSearchResult.tsx @@ -53,7 +53,7 @@ const MyRecordSearchResult = ({ keyword }: MyRecordSearchResultProps) => {