From 28b03ce6b793073b325dbcded46caf1955d53758 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Wed, 21 Oct 2026 20:17:42 +0800 Subject: [PATCH] fix: stack hero stats on phones instead of running them together On phones the hero stats ran together as one sentence, breaking wherever space ran out and leaving a "/" dangling at a line end. Co-Authored-By: Claude --- website/static/style.css | 8 ++++++++ website/templates/index.html | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/website/static/style.css b/website/static/style.css index ede5397f..8d9de77f 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -1786,6 +1786,14 @@ th[data-sort].sort-asc::after { } @media (max-width: 680px) { + .proof-stat { + display: block; + } + + .proof-sep { + display: none; + } + .hero-topbar { gap: 0.75rem; } diff --git a/website/templates/index.html b/website/templates/index.html index e31a7076..b1dd5bd7 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -27,11 +27,11 @@

Awesome Python

{{ subtitle }}

- {% if repo_stars %}{{ repo_stars }}+ stars on GitHub{% endif %} {% if repo_stars and build_date %}/{% endif %} {% if build_date %}Updated on {{ build_date }}{% endif %} {% if repo_stars or - build_date %}/{% endif %} Maintained by + {% if repo_stars %}{{ repo_stars }}+ stars on GitHub{% endif %} {% if repo_stars and build_date %}/{% endif %} {% if build_date %}Updated on {{ build_date }}{% endif %} {% if repo_stars or + build_date %}/{% endif %} Maintained by @vinta and - @JinyangWang27 + @JinyangWang27