From ac848a603c60ad8a8049520b5c1d2ba788a36c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=E1=BA=A7n=20Thanh=20T=E1=BB=8Bnh?= Date: Sun, 28 May 2023 17:30:24 +0700 Subject: [PATCH 1/2] fix: img was overflow screen --- _sass/devlopr.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_sass/devlopr.scss b/_sass/devlopr.scss index 51c87417b..15640fa24 100644 --- a/_sass/devlopr.scss +++ b/_sass/devlopr.scss @@ -109,6 +109,10 @@ ol, ul { margin-left: 30px !important; } +img { + max-width: 100%; +} + /* Progress bar */ .progressline .bar { background: #f69801; From e25c52fa1007ed6e645f821a9dca72060a023720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=E1=BA=A7n=20Thanh=20T=E1=BB=8Bnh?= Date: Sun, 28 May 2023 17:44:51 +0700 Subject: [PATCH 2/2] chore: apply for post page only --- _sass/devlopr.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_sass/devlopr.scss b/_sass/devlopr.scss index 15640fa24..504152ea5 100644 --- a/_sass/devlopr.scss +++ b/_sass/devlopr.scss @@ -109,10 +109,6 @@ ol, ul { margin-left: 30px !important; } -img { - max-width: 100%; -} - /* Progress bar */ .progressline .bar { background: #f69801; @@ -432,6 +428,10 @@ header { #blog-post-container{ margin-top: 20px; margin-left: -35px; + + img { + max-width: 100%; + } } .snipcart-modal__container {