File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,16 @@ body:has([data-granite-banner]) .integrations-page section[id] {
149149 scroll-margin-top : calc (var (--fd-banner-height , 3rem ) + 4rem );
150150}
151151
152+ /* Integration detail page: Add padding-top when banner exists */
153+ body : has ([data-granite-banner ]) .integration-detail-page {
154+ padding-top : calc (var (--fd-banner-height , 3rem ) + 1rem ) !important ;
155+ }
156+
157+ /* Integration detail page: Default padding (no banner) */
158+ .integration-detail-page {
159+ padding-top : 1rem ;
160+ }
161+
152162/* Remove ALL left whitespace from navbar to fill screen edge */
153163body > div > nav ,
154164body > div > header ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export default async function Page(props: {
2525 const path = `content/integrations${ page . url . replace ( '/integrations/' , '/' ) } .mdx` ;
2626
2727 return (
28- < >
28+ < div className = "integration-detail-page" >
2929 < div
3030 className = "container rounded-xl border mt-5 py-12 md:px-8"
3131 style = { {
@@ -141,7 +141,7 @@ export default async function Page(props: {
141141 </ div >
142142 </ div >
143143 </ article >
144- </ >
144+ </ div >
145145 ) ;
146146}
147147
You can’t perform that action at this time.
0 commit comments