diff --git a/src/components/CategoryMenuBar.tsx b/src/components/CategoryMenuBar.tsx index be9ac60..830b3ea 100644 --- a/src/components/CategoryMenuBar.tsx +++ b/src/components/CategoryMenuBar.tsx @@ -17,6 +17,7 @@ const CategoryMenuBarWrapper = styled.div` /* 스크롤바 스타일 */ ::-webkit-scrollbar { width: 0; /* 스크롤바 너비를 0으로 설정하여 스크롤바를 숨김 */ + background-color: transparent; /* 스크롤바 배경을 투명으로 설정하여 숨김 */ } ::-webkit-scrollbar-thumb { @@ -34,6 +35,7 @@ const CategoryButton = styled.div` border-radius: 100px; cursor: pointer; height: 40px; + font-size: 12px; min-width: fit-content; display: flex; align-items: center; @@ -58,27 +60,6 @@ interface CategoryButtonProps { isSelected: boolean; } -const StyledFormControl = styled(FormControl)` - margin: 1px; - min-width: 120px; - height: 40px; /* Set the desired height */ - border: none; /* Remove the border */ -`; - -const StyledSelect = styled(Select)` - width: fit-content; - background-color: lightgray; - border: none; /* Remove the border */ - border-radius: 100px; - padding: 8px; - height: 40px; /* Set the desired height */ - - &:focus { - background-color: lightgray; // 선택 시 빨간색이 나타나지 않도록 함 - border: none; /* Remove the border on focus */ - } -`; - export default function CategoryMenuBar() { const [selectedCategory, setSelectedCategory] = useState(''); @@ -99,7 +80,7 @@ export default function CategoryMenuBar() { return ( <> - + - {/* - - - 업로드 - 조회수 - 궁금해요 - - - -

선택된 카테고리: {selectedCategory}

*/} - {categoryList.map((category) => ( {/* Use the CustomFab instead of the Fab */} - + diff --git a/src/routes/Main.tsx b/src/routes/Main.tsx index fae80bc..7d512ff 100644 --- a/src/routes/Main.tsx +++ b/src/routes/Main.tsx @@ -147,9 +147,6 @@ export default function Main() { ))} - {/* - {fab.icon} - */}