Scope external site link styles to homepage section only

The .section-resources CSS overrides were breaking the Downloads page
resource link layout. Added .section-external-sites class to the
ExternalSitesSection and scoped all image/layout overrides to it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmert
2026-06-16 12:04:49 -04:00
parent d6acf85252
commit 3d8f02d915
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -3405,18 +3405,18 @@
flex-shrink: 0; flex-shrink: 0;
} }
.section-resources .resource-link { .section-external-sites .resource-link {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
min-height: unset; min-height: unset;
} }
.section-resources .resource-download-meta { .section-external-sites .resource-download-meta {
width: 100%; width: 100%;
} }
.section-resources .resource-link-image { .section-external-sites .resource-link-image {
width: 100%; width: 100%;
height: 160px; height: 160px;
border-radius: 10px; border-radius: 10px;
+1 -1
View File
@@ -1106,7 +1106,7 @@ function ExternalSitesSection({ content }: { content: SiteContent }) {
if (links.length === 0) return null if (links.length === 0) return null
return ( return (
<section className="section-resources" aria-label="External sites"> <section className="section-resources section-external-sites" aria-label="External sites">
<div className="section-inner"> <div className="section-inner">
<div className="download-library-head"> <div className="download-library-head">
<p className="eyebrow">Homepage Links</p> <p className="eyebrow">Homepage Links</p>