Skip to content

Commit 93c619e

Browse files
authored
fix: z-index of medium-zoom (#4055)
1 parent 0c18912 commit 93c619e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/.vitepress/theme/components/site-layout.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ onMounted(() => {
2828
</template>
2929

3030
<style>
31-
.medium-zoom-overlay {
32-
z-index: 2147483646;
33-
}
34-
35-
.medium-zoom-image {
31+
.medium-zoom-overlay,
32+
.medium-zoom-image--opened {
3633
z-index: 2147483647;
3734
}
3835
</style>

0 commit comments

Comments
 (0)