From 9d112b42434587df4126a4956588cd4b51d2528f Mon Sep 17 00:00:00 2001 From: parkyejin Date: Wed, 6 Mar 2024 19:21:03 +0900 Subject: [PATCH] =?UTF-8?q?feat(#11):=20=EC=9D=B8=EB=AC=BC=20=EB=B6=84?= =?UTF-8?q?=EC=84=9D=20=EA=B2=80=EC=83=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 3 +++ src/components/trend/TrendSearch.tsx | 3 +-- tsconfig.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ad92582 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "editor.formatOnSave": true +} diff --git a/src/components/trend/TrendSearch.tsx b/src/components/trend/TrendSearch.tsx index de5d632..b117129 100644 --- a/src/components/trend/TrendSearch.tsx +++ b/src/components/trend/TrendSearch.tsx @@ -101,8 +101,7 @@ const SearchImage = styled.div` justify-content: center; position: absolute; left: 2.5rem; - top: 50%; - transform: translateY(-50%); + top: 1.2rem; `; const SearchBar = styled.input` diff --git a/tsconfig.json b/tsconfig.json index 7b28589..406dd01 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,5 +22,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", ".next"] }