Skip to content

Commit 3649dee

Browse files
committed
fix: 修复代码块z-index问题
1 parent c2f1905 commit 3649dee

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/pages/home/components/LeftBar.vue

+1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ onMounted(() => {
234234
<a
235235
v-else
236236
:href="item2.link"
237+
target="_blank"
237238
:class="{
238239
'bg-[#dcdcdc]': $route.path
239240
.trim()

src/style.css

+4
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ a:hover {
3232
box-shadow: 0px 0px 10px #999;
3333
background: #fafafa;
3434
}
35+
36+
.v-code-block--code {
37+
z-index: 0 !important;
38+
}

0 commit comments

Comments
 (0)