Skip to content

Commit

Permalink
fix: inline copy-to-clipboard icon (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip9587 authored Jan 19, 2022
1 parent 3dc48e0 commit 5e113df
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
1 change: 0 additions & 1 deletion apps/vscode-ui/src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@import 'flex';
@import 'variables';
@import '~vscode-codicons/dist/codicon';

html,
body {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,20 @@
"
title="Copy to clipboard"
>
<i class="codicon codicon-clippy"></i>
<!-- https://raw.githubusercontent.com/microsoft/vscode-codicons/main/src/icons/clippy.svg -->
<svg
width="16"
height="16"
viewBox="0 0 16 16"
xmlns="http://www.w3.org/2000/svg"
fill="currentColor"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M7 13.992H4v-9h8v2h1v-2.5l-.5-.5H11v-1h-1a2 2 0 0 0-4 0H4.94v1H3.5l-.5.5v10l.5.5H7v-1zm0-11.2a1 1 0 0 1 .8-.8 1 1 0 0 1 .58.06.94.94 0 0 1 .45.36 1 1 0 1 1-1.75.94 1 1 0 0 1-.08-.56zm7.08 9.46L13 13.342v-5.35h-1v5.34l-1.08-1.08-.71.71 1.94 1.93h.71l1.93-1.93-.71-.71zm-5.92-4.16h.71l1.93 1.93-.71.71-1.08-1.08v5.34h-1v-5.35l-1.08 1.09-.71-.71 1.94-1.93z"
/>
</svg>
</button>
</div>
<div class="fx-row-reverse">
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
"typescript": "4.4.4",
"universal-analytics": "0.4.20",
"vsce": "^1.69.0",
"vscode-codicons": "^0.0.16",
"webpack": "^5.47.0",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18426,11 +18426,6 @@ vsce@~1.93.0:
yauzl "^2.3.1"
yazl "^2.2.2"

vscode-codicons@^0.0.16:
version "0.0.16"
resolved "https://registry.yarnpkg.com/vscode-codicons/-/vscode-codicons-0.0.16.tgz#0bef18bfc0e9378ceb77213326495960cb53561f"
integrity sha512-OUijQNEJ78cmipWUR/LlUeTF9xAUW3/23YhgF3fNOKXKbajGTctUL8+sarVY1dZzv1ii7ilHXYkSJwh/d90XuA==

w3c-hr-time@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
Expand Down

0 comments on commit 5e113df

Please sign in to comment.