Skip to content

Commit

Permalink
fix(code-snippet): fixed a render issue for the light version (carbon…
Browse files Browse the repository at this point in the history
  • Loading branch information
marijohannessen authored and joshblack committed Jun 4, 2018
1 parent bf839d0 commit bc25d02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/code-snippet/code-snippet.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ module.exports = {
`,
context: {
variant: 'inline',
light: 'false',
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/code-snippet/code-snippet.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#is variant "inline"}}
<p>Here is an example of a text that a user would be reading. In this paragraph would be
<button data-copy-btn="" class="bx--snippet bx--snippet--inline {{#if light}} bx--snippet--light{{/if}}" aria-label="Copy code"
<button data-copy-btn="" class="bx--snippet bx--snippet--inline{{#if light}} bx--snippet--light{{/if}}" aria-label="Copy code"
tabindex="0">
<code>inline code</code>
<div class="bx--btn--copy__feedback" data-feedback="Copied!"></div>
Expand Down

0 comments on commit bc25d02

Please sign in to comment.