diff --git a/packages/hexo-theme-async/source/css/_components/base.less b/packages/hexo-theme-async/source/css/_components/base.less index 1e422d4..6e10740 100644 --- a/packages/hexo-theme-async/source/css/_components/base.less +++ b/packages/hexo-theme-async/source/css/_components/base.less @@ -183,6 +183,7 @@ html { opacity: 1; transition-delay: 0s; pointer-events: all; + z-index: 100; } .trm-swup-animation { @@ -269,17 +270,15 @@ html { @marginKey: 10, 15, 20, 25, 30, 35, 40; each(@marginKey, { - .trm-p-@{value} { - padding: unit(@value, px) !important; - } - - .trm-mb-@{value} { - margin-bottom: unit(@value, px); - } + .trm-p-@{value} { + padding: unit(@value, px) !important; + } - .trm-mt-@{value} { - margin-top: unit(@value, px); - } - } + .trm-mb-@{value} { + margin-bottom: unit(@value, px); + } -); + .trm-mt-@{value} { + margin-top: unit(@value, px); + } +});