From 8e8e397a79cec5574d5a30cfad37b1f5b9d9138f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ame=CC=81lie?= Date: Tue, 31 Oct 2023 08:49:08 +0000 Subject: [PATCH] :lipstick: Change images alignement in blog posts --- assets/scss/components/_side-image.scss | 1 + assets/scss/pages/_page-article.scss | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/assets/scss/components/_side-image.scss b/assets/scss/components/_side-image.scss index 3483b223..edf0e882 100644 --- a/assets/scss/components/_side-image.scss +++ b/assets/scss/components/_side-image.scss @@ -24,6 +24,7 @@ figure, > img { margin: 50px 0 !important; + max-width: 100%; } } } diff --git a/assets/scss/pages/_page-article.scss b/assets/scss/pages/_page-article.scss index f7ffea3e..39a0ef4d 100644 --- a/assets/scss/pages/_page-article.scss +++ b/assets/scss/pages/_page-article.scss @@ -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%; - } - } -}