Skip to content

Commit

Permalink
🐞 fix: 修复加载动画事件穿透 #105
Browse files Browse the repository at this point in the history
  • Loading branch information
白云苍狗 committed Nov 8, 2023
1 parent 8aca9c7 commit 385460a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions packages/hexo-theme-async/source/css/_components/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ html {
opacity: 1;
transition-delay: 0s;
pointer-events: all;
z-index: 100;
}

.trm-swup-animation {
Expand Down Expand Up @@ -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);
}
});

0 comments on commit 385460a

Please sign in to comment.