From 1b1b4d317ccc0d666f0e118a8271b8224ba785db Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 17 Jul 2024 08:37:35 +0200 Subject: [PATCH 1/2] CrateSidebar: Fix `@hasLib` assignment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit whoops... 🙈 --- app/components/crate-sidebar.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/crate-sidebar.hbs b/app/components/crate-sidebar.hbs index ae06d5ca421..825722a4721 100644 --- a/app/components/crate-sidebar.hbs +++ b/app/components/crate-sidebar.hbs @@ -52,7 +52,7 @@ @crate={{@crate.name}} @version={{@version.num}} @exactVersion={{@requestedVersion}} - @hasLib={{not (@version.has_lib false)}} + @hasLib={{not (eq @version.has_lib false)}} @binNames={{@version.bin_names}} /> From 820af3b37876dd7a060d6168b52a29e9e8b26116 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 17 Jul 2024 08:40:39 +0200 Subject: [PATCH 2/2] CrateSidebar::InstallInstructions: Tweak bottom margin --- app/components/crate-sidebar/install-instructions.module.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/components/crate-sidebar/install-instructions.module.css b/app/components/crate-sidebar/install-instructions.module.css index 0499522eb20..f6258b4b927 100644 --- a/app/components/crate-sidebar/install-instructions.module.css +++ b/app/components/crate-sidebar/install-instructions.module.css @@ -1,6 +1,10 @@ .copy-help { font-size: 12px; overflow-wrap: break-word; + + &:last-child { + margin-bottom: 0; + } } .copy-button,