Skip to content

Commit

Permalink
Merge pull request #123 from rix-fr/blog-image-alignment
Browse files Browse the repository at this point in the history
💄 Change images alignement in blog posts
  • Loading branch information
ameliedefrance authored Oct 31, 2023
2 parents de9c401 + 8e8e397 commit 4f3a4b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
1 change: 1 addition & 0 deletions assets/scss/components/_side-image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
figure,
> img {
margin: 50px 0 !important;
max-width: 100%;
}
}
}
14 changes: 0 additions & 14 deletions assets/scss/pages/_page-article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,7 @@
margin-top: 0;
}

figure {
margin-left: -120px;
width: calc(100% + 120px);
}

.alert {
margin: 0 0 40px;
}
}

@media (max-width: $screen-md) {
.page-article {
figure {
margin-left: 0;
width: 100%;
}
}
}

0 comments on commit 4f3a4b4

Please sign in to comment.