Skip to content

Commit

Permalink
design: 모두의 정원 헤더 빈 공간 제거, 글쓰기 버튼 box-shadow (#424)
Browse files Browse the repository at this point in the history
* design: 필터가 없으면 태그 공간도 표시하지 않음

* design: 모두의 정원 글쓰기 버튼 box-shadow
  • Loading branch information
WaiNaat authored and hozzijeong committed Oct 20, 2023
1 parent b88d223 commit 4c31b08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/garden/GardenPostListHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ const GardenPostListHeader = ({
height="36px"
fontSize="1.6rem"
/>
<FilterArea>
{selectedDictionaryPlant && (
{selectedDictionaryPlant && (
<FilterArea>
<FilterTag>
{selectedDictionaryPlant.name}
<DeleteFilterButton type="button" onClick={onClickDelete} aria-label="필터 지우기">
</DeleteFilterButton>
</FilterTag>
)}
</FilterArea>
</FilterArea>
)}
</Wrapper>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const FixedButton = styled.button`
background-color: ${(props) => props.theme.color.primary};
border-radius: 28px;
box-shadow: 0 0 5px ${(props) => props.theme.color.grayDark};
`;

export const Sensor = styled.div`
Expand Down

0 comments on commit 4c31b08

Please sign in to comment.