🎨 styles: page product detail

:%s
This commit is contained in:
lytrankieio123 2021-09-13 15:38:31 +07:00
parent 022c905d82
commit a3240ab059
5 changed files with 19 additions and 7 deletions

View File

@ -10,7 +10,7 @@ export default function Slug() {
<RecommendedRecipes data={RECIPE_DATA_TEST} />
<ReleventProducts />
<ViewedProducts />
<RelevantBlogPosts data={BLOGS_DATA_TEST} title="You will like also"/>
<RelevantBlogPosts data={BLOGS_DATA_TEST} title="relevent blog posts"/>
</>
}

View File

@ -106,7 +106,7 @@
&.large {
.inner {
padding: 1rem 1.5rem;
padding: 1rem 1.6rem;
&.onlyIcon {
padding: 1rem;
}
@ -139,8 +139,11 @@
.icon {
margin: 0 1.6rem 0 0;
svg path {
fill: currentColor;
svg {
height: 2rem;
path {
fill: currentColor;
}
}
}
}

View File

@ -7,6 +7,9 @@
padding-bottom: 6rem;
&.borderBottom {
border-bottom: 1rem solid var(--gray);
@screen lg {
border-bottom: none;
}
}
@screen lg {
@apply flex spacing-horizontal-left;

View File

@ -7,7 +7,7 @@
@apply flex;
margin: 5.6rem auto;
}
.img {
width: 100%;
margin-top: 0;
@ -61,6 +61,9 @@
list-style: disc;
margin-left: 2rem;
}
a {
color: var(--info);
}
}
}
}

View File

@ -64,8 +64,11 @@
margin-left: 0.8rem;
}
}
svg path {
fill: currentColor;
svg {
height: 2rem;
path {
fill: currentColor;
}
}
}
button {