style: Change layout style

This commit is contained in:
jhynsoo 2023-10-25 20:03:00 +09:00
parent a8b0fd0f94
commit 360666045d
2 changed files with 2 additions and 3 deletions

View File

@ -25,14 +25,14 @@ const PostDetail = () => {
<S.WrittenTime>{data.written_at}</S.WrittenTime>
<PanelLayout>
<LeftPanel>
<SubTitle>최근 거래 가격</SubTitle>
<ProductPriceGraph id={data.product.id} />
<S.Text>{data.text}</S.Text>
<S.Price>가격 {data.price.toLocaleString()}</S.Price>
</LeftPanel>
<RightPanel>
<SubTitle>제품 사진</SubTitle>
<ImageViewer images={data?.images?.map((image) => image.image)} />
<SubTitle>최근 거래 가격</SubTitle>
<ProductPriceGraph id={data.product.id} />
</RightPanel>
</PanelLayout>
</S.PostDetail>

View File

@ -7,7 +7,6 @@ function PriceStep({ gotoNextStep, gotoPrevStep, price, setPrice }) {
return (
<S.Step>
<S.Title>얼마에 팔고 싶나요?</S.Title>
<S.HelpText>가격</S.HelpText>
<CurrencyInput
value={price}
setValue={setPrice}