Skip to content

Commit

Permalink
Merge pull request #170 from 100-hours-a-week/feature/elle
Browse files Browse the repository at this point in the history
Style : 포트폴리오 상세 스타일 수정
  • Loading branch information
lucy726j authored Aug 29, 2024
2 parents 0a52af4 + 14bc88d commit 3260ac1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/Component/Carousel/EmblaCarousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ const EmblaCarousel: React.FC<PropType> = ({
{formatPrice(item.budget)}
</p>
<p style={{ color: color }}> {value}%</p>
</div>
<div className="img__container">
<img src={myPortfolioImg} alt="Portfolio" />
</div>
</div>
Expand Down
18 changes: 12 additions & 6 deletions src/Component/Carousel/embla.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,25 @@
margin: 0.2rem 0;
}

.embla__slide__info > img {
width: 130px;
height: 130px;
.img__container > img {
width: 120px;
height: 120px;
margin-left: 2.5rem;
margin-top: -2rem;
position: absolute;
top: 200px;
right: 20px;
}

@media screen and (max-width: 768px) {
.embla__slide__info > img {
.img__container > img {
width: 80px;
height: 80px;
margin-left: 3rem;
margin-top: 2rem;
margin-left: 2rem;
margin-top: 1rem;
position: absolute;
top: 190px;
right: 20px;
}
}

Expand Down

0 comments on commit 3260ac1

Please sign in to comment.