From 8416dab8705465b73b846fece27521eaaed5feb8 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 27 Sep 2025 14:27:31 +0300 Subject: [PATCH] feat(website): improve hero download buttons on mobile --- apps/website/src/components/DownloadButton.css | 6 +----- apps/website/src/components/DownloadButton.tsx | 2 +- apps/website/src/pages/Home/index.css | 11 ++++++++--- apps/website/src/pages/Home/index.tsx | 3 ++- apps/website/src/style.css | 9 ++++++++- 5 files changed, 20 insertions(+), 11 deletions(-) diff --git a/apps/website/src/components/DownloadButton.css b/apps/website/src/components/DownloadButton.css index 864088dc6..dca728f39 100644 --- a/apps/website/src/components/DownloadButton.css +++ b/apps/website/src/components/DownloadButton.css @@ -1,7 +1,3 @@ -.download-button { - display: none; -} - .download-button .platform { font-size: 0.75em; opacity: 0.75; @@ -14,6 +10,6 @@ @media (min-width: 720px) { .download-button { - display: inline-block; + display: inline-block !important; } } \ No newline at end of file diff --git a/apps/website/src/components/DownloadButton.tsx b/apps/website/src/components/DownloadButton.tsx index 18e150026..c5b1d4d6a 100644 --- a/apps/website/src/components/DownloadButton.tsx +++ b/apps/website/src/components/DownloadButton.tsx @@ -12,7 +12,7 @@ const { name, url } = getRecommendedDownload(); export default function DownloadButton({ big }: DownloadButtonProps) { return (