Skip to content

Commit

Permalink
Merge pull request #173 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 30, 2024
2 parents 23c21e3 + 75b0c62 commit 3028c31
Show file tree
Hide file tree
Showing 15 changed files with 576 additions and 538 deletions.
31 changes: 16 additions & 15 deletions src/Component/Button/DeleteButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@ import React from "react";
import "./DeleteButtonStyle.css";

interface AnimatedButtonProps {
onClick: () => void;
onClick: () => void;
}

const DeleteButton: React.FC<AnimatedButtonProps> = ({ onClick }) => {
return (
<div
className="delete"
onClick={onClick}
style={{
left: "410px",
cursor: "pointer",
top: "-2px",
}}
>
<div className="top"></div>
<div className="bottom"></div>
</div>
);
return (
<div
className="delete"
onClick={onClick}
style={{
left: "410px",
cursor: "pointer",
top: "-2px",
marginRight: "2rem",
}}
>
<div className="top"></div>
<div className="bottom"></div>
</div>
);
};

export default DeleteButton;
1 change: 1 addition & 0 deletions src/Component/Carousel/EmblaCarousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ const EmblaCarousel: React.FC<PropType> = ({
style={{
fontSize: "20px",
color: "black",
wordWrap: "break-word",
}}
>
{formatPrice(item.budget)}
Expand Down
2 changes: 2 additions & 0 deletions src/Component/Carousel/embla.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
margin-top: 0.7rem;
margin-bottom: 1rem;
min-height: 75px;
word-wrap: break-word;
}

@media screen and (max-width: 768px) {
Expand All @@ -48,6 +49,7 @@
margin-top: 0.7rem;
margin-bottom: 1rem;
min-height: 40px;
word-wrap: break-word;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Component/List/Data/stockDataList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ListWrapper = styled.div`

const StockDataList: React.FC<StockDataPropList> = ({ data }) => {
return (
<div>
<div style={{ paddingBottom: "1rem" }}>
<ListWrapper>
{data.map((item) => (
<StockData key={item.code} {...item} />
Expand Down
Loading

0 comments on commit 3028c31

Please sign in to comment.