Skip to content

Commit

Permalink
Modify grey + do not show <img> balise when there is no image for bac…
Browse files Browse the repository at this point in the history
…kground
  • Loading branch information
MelanieMEB committed Sep 22, 2020
1 parent 423cf51 commit fae1a08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/slices/Article.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</div>
</div>
<prismic-image
v-if="containsTextAndImage"
v-if="containsTextAndImage && content.article_background.url"
:field="content.article_background"
class="article__secondary-content article-secondary-content__background"
/>
Expand Down Expand Up @@ -245,14 +245,14 @@ export default {
.article-content {
&__description {
margin: 16px 0 24px 0;
color: $grey-10;
color: $grey-6;
ul {
list-style: none;
padding: 0;
li:before {
color: $grey-10;
color: $grey-6;
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/slices/Features.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default {
&__description {
width: 217px;
color: $grey-9;
color: $grey-6;
font-size: 0.875rem;
letter-spacing: 0.15px;
line-height: 24px;
Expand Down

0 comments on commit fae1a08

Please sign in to comment.