diff --git a/website/src/theme/Footer/index.tsx b/website/src/theme/Footer/index.tsx index edbe186..adaedbd 100644 --- a/website/src/theme/Footer/index.tsx +++ b/website/src/theme/Footer/index.tsx @@ -20,6 +20,19 @@ import { useColorMode } from '@docusaurus/theme-common'; import { Icon } from '@iconify/react'; +// Custom styles to fix the spacing issue +const socialIconsContainerStyle = { + display: 'flex', + justifyContent: 'center', + alignItems: 'center', + flexWrap: 'wrap', // Allow wrapping on small screens + margin: '16px 0', +}; + +const iconButtonStyle = { + padding: '12px', // Ensure buttons have enough clickable area +}; + function FooterLink({ to, href, @@ -77,7 +90,6 @@ function Footer(): JSX.Element | null { slack: "https://join.slack.com/t/stackqlcommunity/shared_invite/zt-1cbdq9s5v-CkY65IMAesCgFqjN6FU6hg", }; - // const { colorMode === 'dark' } = useThemeContext(); const {colorMode} = useColorMode(); const {footer} = useThemeConfig(); @@ -163,53 +175,58 @@ function Footer(): JSX.Element | null { /> ) : null} -