From 6a5a4980ae8920e8d94c1e6d7768d825d562c294 Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Sat, 11 Apr 2026 21:10:04 +0200 Subject: [PATCH] Remove special text selection behavior of install command This reverts commit c7a310c50e5d6b6be9605d5fc6baa3791e0fc7d2. Now that there is a copy button, there is no need for special selection behavior anymore. --- src/styles/app.scss | 4 ---- templates/components/tools/rustup.html.hbs | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/styles/app.scss b/src/styles/app.scss index f79da66f..365308d0 100644 --- a/src/styles/app.scss +++ b/src/styles/app.scss @@ -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; diff --git a/templates/components/tools/rustup.html.hbs b/templates/components/tools/rustup.html.hbs index c5300d07..b2436301 100644 --- a/templates/components/tools/rustup.html.hbs +++ b/templates/components/tools/rustup.html.hbs @@ -2,7 +2,7 @@

{{fluent "tools-rustup-unixy"}}

-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh