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:
+3
-3
@@ -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
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user