diff --git a/layout/_third-party/copy-code.swig b/layout/_third-party/copy-code.swig index fd78bf57fd..46ef6d0530 100644 --- a/layout/_third-party/copy-code.swig +++ b/layout/_third-party/copy-code.swig @@ -21,7 +21,7 @@ transition: opacity .3s ease-in-out; opacity: 0; padding: 2px 6px; - position: fixed; + position: absolute; right: 4px; top: 8px; } @@ -32,7 +32,7 @@ } .highlight-wrap { - transform: translateZ(0); + position: relative; }