Commit e0d9e8e0 authored by 박상호's avatar 박상호 🎼
Browse files

0127 0938

parent 48925ca0
...@@ -174,11 +174,11 @@ function Product({ match, location }) { ...@@ -174,11 +174,11 @@ function Product({ match, location }) {
</div> </div>
<Image src={`/images/${product.main_img}`} className='d-flex justify-content-center p-4' style={{ objectFit: "contain", maxWidth: "100%", margin: 'auto' }} /> <Image src={`/images/${product.main_img}`} className='d-flex justify-content-center p-4' style={{ objectFit: "contain", maxWidth: "100%", margin: 'auto' }} />
<Card style={{ width: '70%', margin: 'auto' }} className='my-4' > <Card style={{ width: '80%', margin: 'auto' }} className='my-4' >
<Card.Header className='text-center' style={{ background: '#CDC5C2' }}> <Card.Header className='text-center' style={{ background: '#CDC5C2' }}>
<h5 className='m-0' style={{ whiteSpace: 'nowrap' }}> [ Description ]</h5> <h5 className='m-0' style={{ whiteSpace: 'nowrap' }}> [ Description ]</h5>
</Card.Header> </Card.Header>
<Card.Body className='text-center m-4' style={{ whiteSpace: "pre-line", background: '#F7F3F3', fontSize: '1vw' }}> <Card.Body className='text-center m-2' style={{ whiteSpace: "pre-line", background: '#F7F3F3', fontSize: '1vw' }}>
<small>{replace}</small> <small>{replace}</small>
</Card.Body> </Card.Body>
</Card> </Card>
......
...@@ -86,9 +86,9 @@ function ProductsList({ match }) { ...@@ -86,9 +86,9 @@ function ProductsList({ match }) {
<Col className='px-3'> <Col className='px-3'>
<div className="text-center"> <div className="text-center">
<h1 style={{ fontSize: "5.5vmax" }} className="text-center m-1 py-3">{mainCategory}</h1> <h1 style={{ fontSize: "5.5vmax" }} className="text-center m-1 py-3">{mainCategory}</h1>
<ButtonGroup className="mb-3 d-flex flex-nowrap" variant="outline-light secondary" style={{ display: "inline", overflowX: "auto"}}> <ButtonGroup className="mb-3" variant="outline-light secondary" style={{ display: "inline"}}>
{subcategory.map(el => {subcategory.map(el =>
(<Button className="m-1" style={{ fontSize: "0.8vw", whiteSpace: 'nowrap' }} variant="secondary" name={el} onClick={handleSubname}>{el} (<Button className="m-1" style={{ fontSize: "1vw"}} variant="secondary" name={el} onClick={handleSubname}>{el}
</Button>))} </Button>))}
</ButtonGroup> </ButtonGroup>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment