diff --git a/src/components/code-snippet/code-snippet.hbs b/src/components/code-snippet/code-snippet.hbs
index e298d10f201c..6aa5f4de1959 100644
--- a/src/components/code-snippet/code-snippet.hbs
+++ b/src/components/code-snippet/code-snippet.hbs
@@ -10,9 +10,8 @@
-
-
+
@mixin grid-container {
width: 100%;
padding-right: padding(mobile);
@@ -34,16 +33,16 @@
overflowHidden: - 1,
floating: 10000
);
-
-
-
+
+
{{#is variant "multi"}}
{{/is}}
diff --git a/src/components/copy-button/_copy-button.scss b/src/components/copy-button/_copy-button.scss
index 5c2eaa7f9cef..cfe79cff4c57 100644
--- a/src/components/copy-button/_copy-button.scss
+++ b/src/components/copy-button/_copy-button.scss
@@ -39,6 +39,7 @@
pointer-events: none;
border-radius: 4px;
font-weight: 400;
+ z-index: 2;
}
&:after {
@@ -50,6 +51,7 @@
border-bottom: 1px solid $inverse-02;
content: '';
transform: rotate(-135deg);
+ z-index: 1;
}
&:before,