Skip to content

Commit

Permalink
Merge pull request #2089 from rust-lang/remo/ovrutmossqru
Browse files Browse the repository at this point in the history
Make install command easier to select
  • Loading branch information
Manishearth authored Nov 21, 2024
2 parents c6189c1 + c7a310c commit ef4a9f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ code.code-header {
margin: 0 0 3px 0;
}

code.copyable {
user-select: all;
}

header h1,
section h2 {
z-index: 999999;
Expand Down
6 changes: 3 additions & 3 deletions templates/components/tools/rustup.html.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="row">
<div id="platform-instructions-unix" class="instructions db">
<p>{{fluent "tools-rustup-unixy"}}</p>
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<pre><code class="db w-100 copyable">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
</div>
<div id="platform-instructions-win" class="instructions dn">
<p>{{fluent "tools-rustup-windows-2"}}</p>
Expand All @@ -17,14 +17,14 @@
</div>
<h3 class="mt4">{{fluent "tools-rustup-wsl-heading"}}</h3>
<p>{{fluent "tools-rustup-wsl"}}</p>
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<pre><code class="db w-100 copyable">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
</div>
<div id="platform-instructions-default" class="instructions dn">
<div>
<p>
{{fluent "tools-rustup-manual-default"}}
</p>
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
<pre><code class="db w-100 copyable">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
</div>
<hr class="white-hr" />
<div>
Expand Down

0 comments on commit ef4a9f8

Please sign in to comment.