Skip to content

Commit

Permalink
💄 Change images alignement in blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliedefrance authored and gfaivre committed Dec 5, 2023
1 parent aa2dcef commit ffaa303
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 ffaa303

Please sign in to comment.