Set counter properly in get involved section

This commit is contained in:
wswidzinski 2018-01-13 14:55:38 +01:00
parent f9b72acd20
commit 33a0a32e4f
2 changed files with 25 additions and 9 deletions

View File

@ -34,17 +34,17 @@
<li class="get-involved__list-item">{{ listItem }}</li> <li class="get-involved__list-item">{{ listItem }}</li>
{{/each}} {{/each}}
</ul> </ul>
<div class="get-involved__counter">
{{ getInvolved.counterText }}
</div>
{{> components/next-section-link
class="get-involved__link"
name=getInvolved.nextSectionLink
}}
</div> </div>
</div> </div>
<div class="get-involved__counter">
{{ getInvolved.counterText }}
</div>
{{> components/next-section-link
class="get-involved__link"
name=getInvolved.nextSectionLink
}}
</div> </div>
</section> </section>

View File

@ -94,6 +94,22 @@
&__counter { &__counter {
font-size: 24px; font-size: 24px;
@media #{$screen-md} {
position: absolute;
top: 40px;
left: 700px;
}
@media #{$screen-lg} {
position: absolute;
top: 46px;
left: 800px;
}
}
&__link {
margin: 20px 0;
} }
&__content, &__content,