mirror of
https://github.com/vinta/awesome-python.git
synced 2026-10-21 03:02:40 +00:00
feat: show category label on mobile in project name column
On narrow screens the category column is hidden. This adds a .mobile-cat span inside the name cell that renders the first category below the project name, giving mobile users the context they were missing. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
5a8c565a88
commit
0308fd1b3c
2 changed files with 17 additions and 0 deletions
|
|
@ -151,6 +151,7 @@
|
|||
<a href="{{ entry.url }}" target="_blank" rel="noopener"
|
||||
>{{ entry.name }}</a
|
||||
>
|
||||
<span class="mobile-cat">{{ entry.categories[0] }}</span>
|
||||
</td>
|
||||
<td class="col-stars">
|
||||
{% if entry.stars is not none %}{{ "{:,}".format(entry.stars) }}{%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue