mirror of
https://github.com/vinta/awesome-python.git
synced 2026-08-03 22:40:46 +00:00
fix: move group tag into category cell and hide on mobile
- Relocate group tag from expand row to category column so it appears inline beside the category tag - Add margin between stacked tags with .col-cat .tag + .tag spacing rule - Remove fixed width from .col-cat; narrow .col-name from 35% to 30% to give category column room - Hide .tag-group on screens ≤900px and widen .col-name to 50% to reclaim space Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
4077051813
commit
4ea3134ba3
2 changed files with 11 additions and 8 deletions
|
|
@ -268,7 +268,7 @@ a:hover { color: var(--accent-hover); text-decoration: underline; }
|
|||
}
|
||||
|
||||
.col-name {
|
||||
width: 35%;
|
||||
width: 30%;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
|
|
@ -439,10 +439,13 @@ th[data-sort].sort-asc::after {
|
|||
}
|
||||
|
||||
.col-cat {
|
||||
width: 13%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.col-cat .tag + .tag {
|
||||
margin-left: 0.35rem;
|
||||
}
|
||||
|
||||
/* === Last Commit Column === */
|
||||
.col-commit {
|
||||
width: 9rem;
|
||||
|
|
@ -528,6 +531,8 @@ th[data-sort].sort-asc::after {
|
|||
/* === Responsive === */
|
||||
@media (max-width: 900px) {
|
||||
.col-commit { display: none; }
|
||||
.tag-group { display: none; }
|
||||
.col-name { width: 50%; }
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue