From 1901b82e74a19c479d5e01f87c70cd6269f69a7d Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Wed, 13 Aug 2025 13:34:28 +1000 Subject: [PATCH] css fixes --- website/src/theme/Footer/index.tsx | 115 +++++++++++++++++------------ 1 file changed, 66 insertions(+), 49 deletions(-) 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} -
- - - - - {/* */} - - - - - - - - - - - + {/* Social Icons Container with Fixed Spacing */} +
+ + + + + + + + + + + + + + +
)} @@ -218,4 +235,4 @@ function Footer(): JSX.Element | null { ); } -export default Footer; +export default Footer; \ No newline at end of file