Skip to content

Commit

Permalink
docs(clipboard): remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Jan 31, 2017
1 parent 59d1cc4 commit 8933dc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions docgen/assets/js/activateClipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,5 @@ export default function activateClipboard(codeSamples) {
done();
timeout = setTimeout(setup, cleanAfter);
});

// safari: https://clipboardjs.com/#browser-support
clipboard.on('error', () => copyToClipboard.setAttribute('data-hint', 'Hit ⌘+C to copy'));
});
}
15 changes: 0 additions & 15 deletions docgen/src/stylesheets/components/_code-sample.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* Github-like theme for Prism.js
* @author Luke Askew http://github.com/lukeaskew
*/
.code-sample {
position: relative;
margin: 15px 0 15px 0;
Expand Down Expand Up @@ -81,22 +77,11 @@
z-index: 20;
color: #999;

img {
max-width: none !important;
vertical-align: middle;
margin: 0 auto !important;
}

&.clipboard-done {
color: #555;
}
}

[data-hint]:after {
font-family: "Operator Mono", "Fira Code", "Ubuntu Mono", "Droid Sans Mono", "Liberation Mono", "Source Code Pro", Menlo, Consolas, Courier, monospace;
font-size: 11px;
}

.heading {
position: relative;
padding: 3px 7px;
Expand Down

0 comments on commit 8933dc1

Please sign in to comment.