From b599e6424b65c4bcb08d734ae1a0257dfc08075f Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Wed, 19 Nov 2025 08:27:58 +0100 Subject: [PATCH] refactor(CategoryList): simplify layout styles for mobile and desktop views - Removed conditional styles for flexWrap and overflowX, setting them to "wrap" and "visible" respectively for consistency across devices. - Cleaned up unused scrollbar styles to streamline the component's CSS. --- src/components/header/CategoryList.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/header/CategoryList.js b/src/components/header/CategoryList.js index 262aa2a..f107853 100644 --- a/src/components/header/CategoryList.js +++ b/src/components/header/CategoryList.js @@ -167,15 +167,10 @@ class CategoryList extends Component { display: "flex", justifyContent: "flex-start", alignItems: "center", - flexWrap: isMobile ? "wrap" : "nowrap", - overflowX: isMobile ? "visible" : "auto", + flexWrap: "wrap", + overflowX: "visible", flexDirection: isMobile ? "column" : "row", py: 0.5, // Add vertical padding to prevent border clipping - "&::-webkit-scrollbar": { - display: "none", - }, - scrollbarWidth: "none", - msOverflowStyle: "none", }} >