Skip to content

Commit

Permalink
#185 fix : 이미지썸네일 있을 때 헤더 투명 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
y00eunji committed Jan 29, 2024
1 parent c8af242 commit 1761a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/main/StoreDetailSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function StoreDetailSection({
<AnimatePortal isShowing={!isDragging}>
<Header
className={cn('absolute bg-white z-toast', {
'[&>*>*]:fill-white': reportData?.thumbnailUrl,
'[&>*>*]:fill-white bg-transparent': reportData?.thumbnailUrl,
})}
>
{isScrollDown && <span>{storeData?.storeName}</span>}
Expand All @@ -57,7 +57,7 @@ export default function StoreDetailSection({

{reportData?.thumbnailUrl && (
<ImageContainer
type="medium"
type="full"
src={reportData.thumbnailUrl}
alt="음식점 이미지"
/>
Expand Down

0 comments on commit 1761a03

Please sign in to comment.