diff --git a/website/static/style.css b/website/static/style.css index 59e18fcd..412af329 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -1893,13 +1893,13 @@ th[data-sort].sort-asc::after { padding-right: 0.8rem; } - /* Start the commit time on its own line instead of wrapping mid-phrase after the URL */ - .expand-commit::before { + /* Start the stars and commit time on their own line instead of wrapping mid-phrase after the URL */ + .expand-stars::before { content: "\A"; white-space: pre; } - .expand-commit > .expand-sep { + .expand-stars > .expand-sep { display: none; } diff --git a/website/templates/category.html b/website/templates/category.html index 943ea000..21394cd4 100644 --- a/website/templates/category.html +++ b/website/templates/category.html @@ -191,15 +191,15 @@ rel="noopener" >{{ entry.url | replace("https://", "") }} - {% if entry.last_commit_at %}/{{ + "{:,}".format(entry.stars) }} stars{% endif %} {% if entry.last_commit_at %}/{% endif %} {% if entry.stars is not none %}/{{ - "{:,}".format(entry.stars) }} stars{% endif %} diff --git a/website/templates/index.html b/website/templates/index.html index 693bbfb8..f7687519 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -257,15 +257,15 @@ rel="noopener" >{{ entry.url | replace("https://", "") }} - {% if entry.last_commit_at %}/{{ + "{:,}".format(entry.stars) }} stars{% endif %} {% if entry.last_commit_at %}/{% endif %} {% if entry.stars is not none %}/{{ - "{:,}".format(entry.stars) }} stars{% endif %}