From 2695b0795da073cbc8c1b43d1c8f1286d42eeca6 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Fri, 22 Aug 2025 12:11:44 +0800 Subject: [PATCH] Fix figure margin --- source/css/_common/components/post/post-body.styl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/css/_common/components/post/post-body.styl b/source/css/_common/components/post/post-body.styl index ebc06af..18b1d2d 100644 --- a/source/css/_common/components/post/post-body.styl +++ b/source/css/_common/components/post/post-body.styl @@ -45,6 +45,10 @@ margin-left: 4px; } + figure:not(.highlight) { + margin: 0 auto 20px; + } + // https://github.com/hexojs/hexo-renderer-marked/pull/264 // https://github.com/next-theme/hexo-next-exif figure:not(.highlight) figcaption {