diff --git a/docs-main/styles.css b/docs-main/styles.css index 78247d2c..81502eed 100644 --- a/docs-main/styles.css +++ b/docs-main/styles.css @@ -165,6 +165,22 @@ aside[class*="right"] a:hover, Links ============================================ */ +/* Compact Mintlify's advanced footer so it does not crowd the right-side TOC + when the page is scrolled to the bottom. */ +#footer.advanced-footer > div { + gap: 1.25rem !important; + padding-top: 2rem !important; + padding-bottom: 2rem !important; +} + +@media (max-width: 767px) { + #footer.advanced-footer > div { + gap: 1rem !important; + padding-top: 1.5rem !important; + padding-bottom: 1.5rem !important; + } +} + /* Ensure link colors match our palette */ a:not([class]) { color: var(--canton-highlight);