Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ code.code-header {
margin: 0 0 3px 0;
}

code.copyable {
user-select: all;
}

.pre-copy-wrap {
display: flex;
align-items: stretch;
Expand Down
6 changes: 3 additions & 3 deletions templates/components/tools/rustup.html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div id="platform-instructions-unix" class="instructions db">
<p>{{fluent "tools-rustup-unixy"}}</p>
<div class="pre-copy-wrap">
<pre><code class="db w-100 copyable">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<button class="copy-code-btn" type="button" aria-label="Copy install command to clipboard">
<img class="copy-icon" src="{{baseurl_assets}}/static/images/copy.svg" alt="" aria-hidden="true" width="14" height="14">
<img class="check-icon" src="{{baseurl_assets}}/static/images/check.svg" alt="" aria-hidden="true" width="14" height="14">
Expand All @@ -28,7 +28,7 @@
<h3 class="mt4">{{fluent "tools-rustup-wsl-heading"}}</h3>
<p>{{fluent "tools-rustup-wsl"}}</p>
<div class="pre-copy-wrap">
<pre><code class="db w-100 copyable">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<button class="copy-code-btn" type="button" aria-label="Copy WSL install command to clipboard">
<img class="copy-icon" src="{{baseurl_assets}}/static/images/copy.svg" alt="" aria-hidden="true" width="14" height="14">
<img class="check-icon" src="{{baseurl_assets}}/static/images/check.svg" alt="" aria-hidden="true" width="14" height="14">
Expand All @@ -42,7 +42,7 @@
{{fluent "tools-rustup-manual-default"}}
</p>
<div class="pre-copy-wrap">
<pre><code class="db w-100 copyable">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<button class="copy-code-btn" type="button" aria-label="Copy install command to clipboard">
<img class="copy-icon" src="{{baseurl_assets}}/static/images/copy.svg" alt="" aria-hidden="true" width="14" height="14">
<img class="check-icon" src="{{baseurl_assets}}/static/images/check.svg" alt="" aria-hidden="true" width="14" height="14">
Expand Down
Loading