Skip to content

Commit

Permalink
[FE] feat: 꿀조합 페이지 디자인 수정 (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
xodms0309 authored Sep 21, 2023
1 parent 762ba8c commit 1ccee48
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions frontend/src/pages/RecipePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ export const RecipePage = () => {
<SvgIcon variant="search" />
</Link>
</TitleWrapper>
<Spacing size={12} />
<ErrorBoundary fallback={ErrorComponent} handleReset={reset}>
<Suspense fallback={<Loading />}>
<SortButtonWrapper>
<SortButton option={selectedOption} onClick={handleOpenSortOptionSheet} />
</SortButtonWrapper>
<RecipeListWrapper ref={recipeRef}>
<SortButtonWrapper>
<SortButton option={selectedOption} onClick={handleOpenSortOptionSheet} />
</SortButtonWrapper>
<RecipeList selectedOption={selectedOption} />
</RecipeListWrapper>
</Suspense>
</ErrorBoundary>
<Spacing size={80} />
<RecipeRegisterButtonWrapper>
<RegisterButton
activeLabel={REGISTER_RECIPE}
Expand Down Expand Up @@ -101,11 +101,10 @@ const Title = styled(Heading)`
const SortButtonWrapper = styled.div`
display: flex;
justify-content: flex-end;
margin: 20px 0;
`;

const RecipeListWrapper = styled.div`
height: calc(100% - 190px);
height: calc(100% - 130px);
overflow-y: auto;
`;

Expand Down

0 comments on commit 1ccee48

Please sign in to comment.