From e5ee023857d8d2539fae06769c02b7bc6186782e Mon Sep 17 00:00:00 2001 From: Mari Johannessen Date: Mon, 4 Jun 2018 10:21:39 -0500 Subject: [PATCH] fix(code-snippet): fixed feedback not showing up in firefox (#852) --- src/components/code-snippet/code-snippet.hbs | 12 +++++------- src/components/copy-button/_copy-button.scss | 2 ++ 2 files changed, 7 insertions(+), 7 deletions(-) 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,