From 2043b0c8146c5ea14747b1eaf7c42e47dabb0245 Mon Sep 17 00:00:00 2001 From: andreas Date: Thu, 7 Nov 2019 21:09:51 +0200 Subject: [PATCH] Fix copy button positioning --- 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;