mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-10 12:28:19 +08: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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user