diff --git a/www/index.html b/www/index.html
index 742d0029f1..ec82649861 100644
--- a/www/index.html
+++ b/www/index.html
@@ -129,7 +129,6 @@ <h2>An installer for the systems programming language <a href="https://www.rust-
   </div>
 
   <!-- duplicate the default cross-platform instructions -->
-  <div>
     <p>If you are running Unix,<br/>run the following in your terminal, then follow the onscreen instructions.</p>
     <div class="copy-container">
       <pre class="rustup-command">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>
@@ -142,7 +141,6 @@ <h2>An installer for the systems programming language <a href="https://www.rust-
         <div id="copy-status-message-unknown" class="copy-button-text">Copied!</div>
       </button>
     </div>
-  </div>
 
   <hr/>
 
@@ -177,7 +175,6 @@ <h2>An installer for the systems programming language <a href="https://www.rust-
 </div>
 
 <div id="platform-instructions-default" class="instructions">
-  <div>
     <p>To install Rust, if you are running Unix,<br/>run the following
     in your terminal, then follow the onscreen instructions.</p>
     <div class="copy-container">
@@ -191,7 +188,6 @@ <h2>An installer for the systems programming language <a href="https://www.rust-
         <div id="copy-status-message-default" class="copy-button-text">Copied!</div>
       </button>
     </div>
-  </div>
 
   <hr/>
 
diff --git a/www/rustup.css b/www/rustup.css
index c00dcd1616..cd7c7c6c6e 100644
--- a/www/rustup.css
+++ b/www/rustup.css
@@ -115,7 +115,6 @@ body#idx p.other-platforms-help {
 }
 
 .instructions > * {
-    width: 45rem;
     margin-left: auto;
     margin-right: auto;
 }
@@ -132,7 +131,7 @@ hr {
 #platform-instructions-win-arm64 > p,
 #platform-instructions-default > p,
 #platform-instructions-unknown > p {
-    width: 40rem;
+    width: 80%;
 }
 
 .rustup-command::before {
@@ -144,7 +143,6 @@ hr {
 .rustup-command {
     color: black;
     padding: 1rem 1rem 1rem 0;
-    width: 45rem;
     height: auto;
     text-align: center;
     border-radius: 3px 0 0 3px;
@@ -154,6 +152,7 @@ hr {
     white-space: nowrap;
     height: 26px;
     line-height: 26px;
+    overflow-x: auto;
 }
 
 #platform-instructions-unix div.copy-container,
@@ -164,6 +163,8 @@ hr {
 #platform-instructions-unknown div.copy-container {
     display: flex;
     align-items: center;
+    width: 90%;
+    justify-content: center;
 }
 
 #platform-instructions-unix button.copy-button,