File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff 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 ;
@@ -725,8 +725,8 @@ code:hover {
725725div [class *= 'language-' ] code : hover,
726726pre [class *= 'language-' ] code : hover {
727727 background-color : transparent !important ;
728- color : var ( --vp-code-color ) !important ;
729- -webkit-text-fill-color : var ( --vp-code-color ) !important ;
728+ color : inherit !important ;
729+ -webkit-text-fill-color : inherit !important ;
730730 transform : none !important ;
731731 box-shadow : none !important ;
732732 border-color : transparent !important ;
@@ -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 ;
You can’t perform that action at this time.
0 commit comments