We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18df4c commit b0e133fCopy full SHA for b0e133f
src/plugins/zoom-image.js
@@ -10,13 +10,17 @@ function install(hook) {
10
),
11
);
12
13
+ Docsify.dom.style(
14
+ `.medium-zoom-image--opened,.medium-zoom-overlay{z-index:999}`,
15
+ );
16
+
17
elms = elms.filter(elm => !elm.matches('a img'));
18
19
if (zoom) {
20
zoom.detach();
21
}
22
- zoom = mediumZoom(elms);
23
+ zoom = mediumZoom(elms, { background: 'var(--color-bg)' });
24
});
25
26
0 commit comments