From bc6b64ed21c21b121e4ea6251bba0baf71eb08b1 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Mon, 29 May 2023 12:04:54 +0800 Subject: [PATCH] tailwindCSS --- themes/hexo/LayoutBase.js | 3 +-- themes/matery/LayoutBase.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/themes/hexo/LayoutBase.js b/themes/hexo/LayoutBase.js index 21f2cffd..8c2d72f2 100644 --- a/themes/hexo/LayoutBase.js +++ b/themes/hexo/LayoutBase.js @@ -67,7 +67,6 @@ const LayoutBase = props => { loadExternalResource('/css/theme-hexo.css', 'css') } - const fixStyleObject = !CONFIG_HEXO.HOME_BANNER_ENABLE ? { paddingTop: '4rem' }:{} return (
@@ -76,7 +75,7 @@ const LayoutBase = props => { {headerSlot} -
+
{onLoading ? : children} diff --git a/themes/matery/LayoutBase.js b/themes/matery/LayoutBase.js index 6dbac0d6..282cc44b 100644 --- a/themes/matery/LayoutBase.js +++ b/themes/matery/LayoutBase.js @@ -42,7 +42,6 @@ const LayoutBase = props => { if (isBrowser()) { loadExternalResource('/css/theme-matery.css', 'css') } - const fixStyleObject = !CONFIG_MATERY.HOME_BANNER_ENABLE ? { paddingTop: '4rem' } : {} return (
@@ -53,7 +52,7 @@ const LayoutBase = props => { {headerSlot} -
+
{/* 嵌入区域 */}
{props.containerSlot}