From 13315f6710e965b8ab0992c2b6b78125c6fa9fff Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 8 Apr 2026 15:53:06 +0800 Subject: [PATCH] =?UTF-8?q?improvement:=20fancybox=20=E6=89=8B=E6=A9=9F?= =?UTF-8?q?=E9=A0=81=E9=9D=A2=E4=B8=8D=E9=A1=AF=E7=A4=BA=20toolbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/includes/third-party/subtitle.pug | 2 +- package.json | 2 +- source/css/_layout/third-party.styl | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/layout/includes/third-party/subtitle.pug b/layout/includes/third-party/subtitle.pug index 8dbb534..4e04e54 100644 --- a/layout/includes/third-party/subtitle.pug +++ b/layout/includes/third-party/subtitle.pug @@ -1,5 +1,5 @@ - const { effect, source, sub, typed_option } = theme.subtitle -- let subContent = sub || new Array() +- let subContent = typeof sub === 'string' ? [sub] : (sub || new Array()) script. window.typedJSFn = { diff --git a/package.json b/package.json index ad45920..d35cb31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-butterfly", - "version": "5.5.4", + "version": "5.5.5-b1", "description": "A Simple and Card UI Design theme for Hexo", "main": "package.json", "scripts": { diff --git a/source/css/_layout/third-party.styl b/source/css/_layout/third-party.styl index 8e85e6c..54ab8c7 100644 --- a/source/css/_layout/third-party.styl +++ b/source/css/_layout/third-party.styl @@ -226,5 +226,6 @@ if hexo-config('math.use') opacity: 1 +maxWidth768() - .fancybox__toolbar__column.is-middle - display: none + .fancybox__toolbar__column.is-middle, + .f-carousel__toolbar__column.is-middle + visibility: hidden