From e4f00ae2f1780ee102ff9da8ec4078f94cd57fcb Mon Sep 17 00:00:00 2001 From: Laurence Date: Fri, 17 Oct 2025 19:09:02 +0100 Subject: [PATCH] fix: optimize homepage button layout for mobile and desktop - Fix mobile button overflow by adding min-w-0 to flex items - Change middle buttons from full-width flex-1 to md:w-auto to prevent overlapping logo - Add flex-wrap to buttons container for better layout control - Add flex-shrink-0 to logo to maintain its space - Increase button size to lg for better prominence - Layout now shows: first button full width, second & third side-by-side, fourth full width on mobile - Buttons properly scale and position on all screen sizes --- crowdsec-docs/src/pages/index.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/crowdsec-docs/src/pages/index.tsx b/crowdsec-docs/src/pages/index.tsx index 4798d40f1..d24f7b3db 100644 --- a/crowdsec-docs/src/pages/index.tsx +++ b/crowdsec-docs/src/pages/index.tsx @@ -19,31 +19,31 @@ const HomePageHeader = (): React.JSX.Element => { infrastructure and application security.

- CrowdSec Logo + CrowdSec Logo -
+
-
- - - - - - -
+ + +