From ff06376a30e44040bf4161346d155197d6c49765 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Mon, 6 Oct 2025 16:37:41 +0300 Subject: [PATCH] website: tweak the download button --- apps/website/src/components/DownloadButton.css | 3 ++- apps/website/src/components/DownloadButton.tsx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/website/src/components/DownloadButton.css b/apps/website/src/components/DownloadButton.css index d7ed4cf8f..2d4ad54dc 100644 --- a/apps/website/src/components/DownloadButton.css +++ b/apps/website/src/components/DownloadButton.css @@ -3,6 +3,7 @@ a.download-button { align-items: center; justify-content: center; gap: 1em; + font-weight: 500; @media (min-width: 720px) { display: flex !important; @@ -11,12 +12,12 @@ a.download-button { .platform { font-size: 0.75em; opacity: 0.75; + font-weight: 400; } &.big { padding: 0.5em 3.5em; margin: 1em 0; - gap: m; text-align: left; .platform { diff --git a/apps/website/src/components/DownloadButton.tsx b/apps/website/src/components/DownloadButton.tsx index 815f4cad8..b9efc4780 100644 --- a/apps/website/src/components/DownloadButton.tsx +++ b/apps/website/src/components/DownloadButton.tsx @@ -27,7 +27,7 @@ export default function DownloadButton({ big }: DownloadButtonProps) { Download now{" "} {big ? v{packageJson.version} for {recommendedDownload.name} - : for {recommendedDownload.name} + : null } } /> @@ -40,7 +40,7 @@ export default function DownloadButton({ big }: DownloadButtonProps) { Download now{" "} {big ? v{packageJson.version} for Linux - : for Linux + : null } } />