spacing and bottom wave

This commit is contained in:
caseymm 2021-10-13 17:03:28 -07:00
parent 7d4621576f
commit 6366cbd4b2
3 changed files with 12 additions and 3 deletions

View file

@ -10,6 +10,7 @@
margin-bottom: 30px;
p{
margin: 0px;
line-height: 1.5;
}
a{
position: absolute;
@ -20,12 +21,13 @@
margin: 0 auto 30px;
}
&.left{
margin-left: calc((100% - 940px)/2);
margin-left: calc((100% - 980px)/2);
}
&.right{
margin-left: calc(100% - ((100% - 940px)/2) - 470px);
margin-left: calc(100% - ((100% - 980px)/2) - 450px);
}
img{
margin-top: 10px;
width: 100%;
}
}

View file

@ -1551,11 +1551,12 @@ class AnnualReport extends React.Component {
{id: 'annualReport.yearInReviewCard9Title'}
)}
text={this.props.intl.formatMessage(
{id: 'annualReport.yearInReviewCard9text'}
{id: 'annualReport.yearInReviewCard9Text'}
)}
image="/images/annual-report/2020/community/Timeline/Images/scratchtober.jpg"
attribution="project by u/IDK_HAVE_SOME_NUMBER"
/>
<img className="lower-wave" src="/images/annual-report/2020/community/Timeline/Wave (lower).svg" />
</div>

View file

@ -1384,6 +1384,12 @@ img.comment-viz{
margin: auto;
}
}
.lower-wave{
width: 100%;
position: absolute;
bottom: 50px;
z-index: 0;
}
}