style: list stars before the commit time in expanded rows

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-10-21 23:44:32 +08:00
co-authored by Claude
parent a08148a2f2
commit 3a5af3f87f
3 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -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;
}
+5 -5
View File
@@ -191,15 +191,15 @@
rel="noopener"
>{{ entry.url | replace("https://", "") }}</a
>
{% if entry.last_commit_at %}<span class="expand-commit"
{% if entry.stars is not none %}<span
class="expand-stars"
><span class="expand-sep">/</span>{{
"{:,}".format(entry.stars) }} stars</span
>{% endif %} {% if entry.last_commit_at %}<span class="expand-commit"
><span class="expand-sep">/</span
><time datetime="{{ entry.last_commit_at }}"
>{{ entry.last_commit_at[:10] }}</time
></span
>{% endif %} {% if entry.stars is not none %}<span
class="expand-stars"
><span class="expand-sep">/</span>{{
"{:,}".format(entry.stars) }} stars</span
>{% endif %}
</div>
</div>
+5 -5
View File
@@ -257,15 +257,15 @@
rel="noopener"
>{{ entry.url | replace("https://", "") }}</a
>
{% if entry.last_commit_at %}<span class="expand-commit"
{% if entry.stars is not none %}<span
class="expand-stars"
><span class="expand-sep">/</span>{{
"{:,}".format(entry.stars) }} stars</span
>{% endif %} {% if entry.last_commit_at %}<span class="expand-commit"
><span class="expand-sep">/</span
><time datetime="{{ entry.last_commit_at }}"
>{{ entry.last_commit_at[:10] }}</time
></span
>{% endif %} {% if entry.stars is not none %}<span
class="expand-stars"
><span class="expand-sep">/</span>{{
"{:,}".format(entry.stars) }} stars</span
>{% endif %}
</div>
</div>