From babfc3cfb9da292cc9c0f56578cec12a640f1eda Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 27 Sep 2025 11:34:09 +0300 Subject: [PATCH] chore(website): hide download buttons on mobile --- apps/website/src/components/DownloadButton.css | 8 +++++++- apps/website/src/pages/Home/index.tsx | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/website/src/components/DownloadButton.css b/apps/website/src/components/DownloadButton.css index ed3dbe401..c67f84b04 100644 --- a/apps/website/src/components/DownloadButton.css +++ b/apps/website/src/components/DownloadButton.css @@ -5,7 +5,7 @@ border-radius: 6px; color: white; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); - display: inline-block; + display: none; } .download-button .platform { @@ -16,4 +16,10 @@ .download-button.big { padding: 1em 2em; margin: 1em 0; +} + +@media (min-width: 720px) { + .download-button { + display: inline-block; + } } \ No newline at end of file diff --git a/apps/website/src/pages/Home/index.tsx b/apps/website/src/pages/Home/index.tsx index 221408814..f01b4f15c 100644 --- a/apps/website/src/pages/Home/index.tsx +++ b/apps/website/src/pages/Home/index.tsx @@ -25,7 +25,7 @@ function HeroSection() {
- see all download options + See all download options