services list styling layout

This commit is contained in:
ManjaroOne666 2019-01-23 17:27:42 +00:00
parent 2ddfc51a5f
commit f2086fa315
1 changed files with 16 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<h2 class="services-list__heading service-heading">{{ service.heading }}</h2>
<div class="services-list__body" v-html="service.html">
</div>
<a class="services-list__gallery-link" :href="service.linkUrl">My {{ service.heading }}</a>
<a class="btn-link services-list__gallery-link" :href="service.linkUrl">My {{ service.heading }}</a>
</div>
</li>
</ul>
@ -105,7 +105,10 @@ export default {
.services-list__body {
align-self: flex-end;
text-align: right;
@media (min-width: $bp__layout) {
text-align: right;
}
}
}
@ -128,6 +131,14 @@ export default {
left: auto;
right: 2rem;
}
.services-list__body {
text-align: right;
@media (min-width: $bp__layout) {
text-align: left;
}
}
}
&:first-child {
@ -157,10 +168,13 @@ export default {
flex-direction: column;
justify-content: space-between;
min-height: 20em;
padding-bottom: 1rem;
}
.services-list__body {
width: 100%;
color: $color__neutral-800;
@media (min-width: $bp__layout) {
width: 80%;