Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 7e049cf

Browse files
authored
Merge pull request bootstrap-vue-next#1432 from asika32764/codeblock
fix(docs): Fix code block duplicate.
2 parents 6712e3f + 15dd8a6 commit 7e049cf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

apps/docs/.vitepress/theme/Layout.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,4 +690,16 @@ watch(
690690
}
691691
}
692692
}
693+
694+
// Code Block
695+
[data-bs-theme='dark'] {
696+
.vp-code-light {
697+
display: none;
698+
}
699+
}
700+
[data-bs-theme='light'] {
701+
.vp-code-dark {
702+
display: none;
703+
}
704+
}
693705
</style>

0 commit comments

Comments
 (0)