mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-07 08:20:21 -05:00
fix(website): stop category-page heading from wrapping
The results-intro grid (1fr + 28rem note column) squeezed the heading on category pages with long names, e.g. "Python Projects in Environment Management" wrapped onto two lines. Scope a single-column override to .category-results so the heading takes the full row and the note drops below right-aligned. Index page layout is untouched since its heading is short.
This commit is contained in:
@@ -502,6 +502,15 @@ kbd {
|
||||
padding-top: clamp(2.5rem, 5vw, 3.75rem);
|
||||
}
|
||||
|
||||
.category-results .results-intro {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.category-results .results-intro .results-note {
|
||||
justify-self: end;
|
||||
}
|
||||
|
||||
.category-table .col-name {
|
||||
width: min(42rem, 48vw);
|
||||
white-space: normal;
|
||||
|
||||
Reference in New Issue
Block a user