Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
shopping-mall
Commits
e0d9e8e0
Commit
e0d9e8e0
authored
Jan 27, 2021
by
박상호
🎼
Browse files
0127 0938
parent
48925ca0
Changes
2
Show whitespace changes
Inline
Side-by-side
client/src/Pages/Product.js
View file @
e0d9e8e0
...
@@ -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
:
'
7
0%
'
,
margin
:
'
auto
'
}}
className
=
'
my-4
'
>
<
Card
style
=
{{
width
:
'
8
0%
'
,
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
>
...
...
client/src/Pages/ProductsList.js
View file @
e0d9e8e0
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment