diff --git a/packages/components/src/components/code-snippet/_code-snippet.scss b/packages/components/src/components/code-snippet/_code-snippet.scss index 93232bfcb225..3b3f7ba72980 100644 --- a/packages/components/src/components/code-snippet/_code-snippet.scss +++ b/packages/components/src/components/code-snippet/_code-snippet.scss @@ -259,6 +259,9 @@ // Show more / less button button.#{$prefix}--btn.#{$prefix}--snippet-btn--expand { + @include type-style('body-short-01'); + @include carbon--font-family('sans'); + border: 0; display: inline-flex; align-items: center; position: absolute; @@ -299,6 +302,7 @@ .#{$prefix}--snippet-btn--expand:focus { @include focus-outline('outline'); + border-color: transparent; } .#{$prefix}--snippet--expand diff --git a/packages/components/src/components/code-snippet/code-snippet.hbs b/packages/components/src/components/code-snippet/code-snippet.hbs index 89c38c8be32e..5c63223d4948 100644 --- a/packages/components/src/components/code-snippet/code-snippet.hbs +++ b/packages/components/src/components/code-snippet/code-snippet.hbs @@ -18,7 +18,8 @@
-
+
 @mixin grid-container {
     width: 100%;
diff --git a/packages/react/src/components/CodeSnippet/CodeSnippet.js b/packages/react/src/components/CodeSnippet/CodeSnippet.js
index 3dd581309e00..552f68a3a65a 100644
--- a/packages/react/src/components/CodeSnippet/CodeSnippet.js
+++ b/packages/react/src/components/CodeSnippet/CodeSnippet.js
@@ -69,8 +69,8 @@ function CodeSnippet({
   return (