mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-24 09:44:54 +08:00
fix(css): scope final-cta grid to inner section-shell wrapper
Move display:grid and gap from .final-cta to .final-cta > .section-shell so the grid context is applied to the correct container element, not the outer section. Wrap final-cta content in index.html with a section-shell div accordingly. Also fix .no-results bottom padding that was missing. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -831,7 +831,7 @@ th[data-sort].sort-asc::after {
|
||||
}
|
||||
|
||||
.no-results {
|
||||
padding: 2.4rem var(--shell-pad) 0;
|
||||
padding: 2.4rem var(--shell-pad);
|
||||
text-align: center;
|
||||
color: var(--ink-muted);
|
||||
font-size: var(--text-lg);
|
||||
@@ -860,6 +860,9 @@ th[data-sort].sort-asc::after {
|
||||
.final-cta {
|
||||
padding-block: clamp(3rem, 7vw, 5.5rem);
|
||||
background: oklch(94% 0.025 72);
|
||||
}
|
||||
|
||||
.final-cta > .section-shell {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user