Skip to content

Commit

Permalink
fix(more): more 영역 마진 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mcauto committed Oct 27, 2021
1 parent adfa2d8 commit 5c37921
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
12 changes: 7 additions & 5 deletions pages/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,13 @@
:href="item.href"
/>
</div>
<div class="more">
<div
class="more"
:style="`${review.more || 'margin-bottom: 60px;'}`"
>
<div
class="lead-more"
:style="`display: ${review.more ? 'flex' : 'none'}`"
:style="`display: ${review.more ? 'flex' : 'none'};`"
@click="onClickMore"
>
<p>Lead more</p>
Expand Down Expand Up @@ -296,14 +299,13 @@ export default defineComponent({
.review-row {
display: flex;
justify-content: center;
margin-bottom: 120px;
}
.reviews {
display: flex;
flex-direction: column;
width: 1200px;
grid-gap: 32px;
.cards {
margin-top: 48px;
display: flex;
flex-direction: row;
box-sizing: border-box;
Expand All @@ -314,7 +316,7 @@ export default defineComponent({
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 120px;
margin: 48px 0 120px 0;
.lead-more {
display: flex;
justify-content: space-between;
Expand Down
30 changes: 19 additions & 11 deletions pages/project/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
:project="_project"
/>
</div>
<div class="more">
<div class="more" :style="`${more || 'margin-bottom: 60px;'}`">
<div
class="lead-more"
:style="`display: ${more ? 'flex' : 'none'}`"
Expand Down Expand Up @@ -171,9 +171,9 @@ body.scroll-hidden {
}
}
.more {
height: 120px;
margin: 64px 0 120px 0;
.lead-more {
margin: 24px auto 64px auto;
margin: 0 auto 0 auto;
cursor: pointer;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -235,9 +235,11 @@ body.scroll-hidden {
}
}
.more {
height: 120px;
display: flex;
justify-content: center;
align-items: center;
margin: 64px 0 120px 0;
.lead-more {
margin: 24px auto 64px auto;
cursor: pointer;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -299,9 +301,11 @@ body.scroll-hidden {
}
}
.more {
height: 120px;
display: flex;
justify-content: center;
align-items: center;
margin: 64px 0 120px 0;
.lead-more {
margin: 24px auto 64px auto;
cursor: pointer;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -363,9 +367,11 @@ body.scroll-hidden {
}
}
.more {
height: 64px;
display: flex;
justify-content: center;
align-items: center;
margin: 24px 0 60px 0;
.lead-more {
margin: 24px auto 64px auto;
cursor: pointer;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -426,9 +432,11 @@ body.scroll-hidden {
}
}
.more {
height: 64px;
display: flex;
justify-content: center;
align-items: center;
margin: 24px 0 60px 0;
.lead-more {
margin: 24px auto 64px auto;
cursor: pointer;
display: flex;
justify-content: center;
Expand Down

0 comments on commit 5c37921

Please sign in to comment.