From c8b84567cc6ffff6105f152b7c1e98c713293fe4 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Wed, 26 Apr 2023 19:01:07 +0800 Subject: [PATCH] Fix figcaption position when mobile_layout_economy enabled * See: https://github.com/next-theme/hexo-theme-next/issues/641 --- source/css/_common/outline/mobile.styl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/css/_common/outline/mobile.styl b/source/css/_common/outline/mobile.styl index ccb8e73..49906d9 100644 --- a/source/css/_common/outline/mobile.styl +++ b/source/css/_common/outline/mobile.styl @@ -52,6 +52,11 @@ if (hexo-config('mobile_layout_economy')) { margin-bottom: 10px !important; } + // Fix issue #641 + .image-caption, img + figcaption, .fancybox + figcaption { + margin: -5px auto 15px !important; + } + .note { margin-bottom: 10px !important; padding: 10px !important;