Skip to content

Commit 04639cd

Browse files
author
reco_luan
authored
Merge pull request #76 from SigureMo/feature/sigure
fix: fix plugin-medium-zoom not work in reco
2 parents 405276c + 4638915 commit 04639cd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

components/Page.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PageInfo :pageInfo="$page"></PageInfo>
99
</div>
1010

11-
<Content/>
11+
<Content class="theme-reco-content" />
1212

1313
<footer class="page-edit">
1414
<div

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ module.exports = (options, ctx) => ({
2525
'@vuepress-reco/ga',
2626
'@vuepress-reco/comments',
2727
'@vuepress/active-header-links',
28-
'@vuepress/medium-zoom',
28+
['@vuepress/medium-zoom', {
29+
selector: '.theme-reco-content :not(a) > img'
30+
}],
2931
'@vuepress/plugin-nprogress',
3032
'@vuepress/search',
3133
['@vuepress/plugin-blog', {

0 commit comments

Comments
 (0)