Skip to content

Commit 266708e

Browse files
authored
Fix copy to clipboard on light mode
1 parent e1ed031 commit 266708e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/.vitepress/theme/style.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ code:hover {
389389

390390
/* Code block container styling */
391391
.vp-doc div[class*='language-'] {
392-
position: static;
392+
position: relative;
393393
margin: 0;
394394
background-color: var(--vp-c-bg-soft);
395395
border-radius: 10px;
@@ -771,7 +771,6 @@ pre.language-sh code:hover,
771771
}
772772

773773
.vp-doc div[class*='language-'] {
774-
position: relative;
775774
margin: 16px 0;
776775
background-color: var(--vp-code-bg) !important;
777776
border-radius: 8px;

0 commit comments

Comments
 (0)