From 485ea4749ed116d6b17bded58b248ff0c0c4de73 Mon Sep 17 00:00:00 2001 From: Matthieu Bollot Date: Wed, 20 Mar 2024 00:10:12 +0100 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=92=84=20fix=20image=20height=20?= =?UTF-8?q?on=20mobile=20for=20blog/portfolio=20(#115)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/css/_blog.scss | 1 + src/css/_portfolio.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/src/css/_blog.scss b/src/css/_blog.scss index 104120e11..dd1c97e7e 100644 --- a/src/css/_blog.scss +++ b/src/css/_blog.scss @@ -110,6 +110,7 @@ section#blog { & > img { max-width: 100%; width: 100%; + height: auto; } & > .wrapper-content { margin-left: 1rem; diff --git a/src/css/_portfolio.scss b/src/css/_portfolio.scss index 4d0367614..80ab7c0b4 100644 --- a/src/css/_portfolio.scss +++ b/src/css/_portfolio.scss @@ -83,6 +83,7 @@ section#work{ article{ & > img{ width:100%; + height: auto; } } article .wrapper-content{