From 994b3e32d3b6bad2f100e5ba6e06f174aea18edc Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 23 Jan 2021 13:18:02 +0800 Subject: [PATCH] Optimize image width of list on mobile screens --- assets/css/post.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/post.scss b/assets/css/post.scss index dcc57e4..598e5b4 100644 --- a/assets/css/post.scss +++ b/assets/css/post.scss @@ -315,7 +315,7 @@ $prompt-newer: "{{ site.data.label.post.button.next }}"; } @media all and (max-width: 768px) { - .post img { + .post-content > p > img { max-width: calc(100% + 1rem); } }