From 175ba242e9da57ad1bb1ebafb47ccac2411fbd2b Mon Sep 17 00:00:00 2001 From: andreas Date: Thu, 7 Nov 2019 21:50:32 +0200 Subject: [PATCH] fix(code-copy): copy button positioning (#557) --- packages/saber-plugin-code-copy/lib/saber-browser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/saber-plugin-code-copy/lib/saber-browser.js b/packages/saber-plugin-code-copy/lib/saber-browser.js index 54fa67a63..1ed77901e 100644 --- a/packages/saber-plugin-code-copy/lib/saber-browser.js +++ b/packages/saber-plugin-code-copy/lib/saber-browser.js @@ -18,6 +18,7 @@ export default ({ router }) => { style.id = 'saber-plugin-code-copy-style' style.append( document.createTextNode(` + .saber-highlight {position: relative;} .saber-highlight:hover:before {display: none !important;} .saber-highlight:hover .saber-plugin-code-copy-button { opacity: 1;