From 6956ce34ae84f86c0d62576d78df5c8c0e26f576 Mon Sep 17 00:00:00 2001 From: gustavomm19 Date: Thu, 20 Jul 2023 21:55:28 +0000 Subject: [PATCH] fix bug at choose your program --- src/components/ChooseYourProgram/index.js | 6 ++---- src/components/Sections/index.js | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/ChooseYourProgram/index.js b/src/components/ChooseYourProgram/index.js index 598ba2b28..99a7c9b8d 100644 --- a/src/components/ChooseYourProgram/index.js +++ b/src/components/ChooseYourProgram/index.js @@ -99,6 +99,8 @@ const ChooseYourProgram = ({ alignItems_tablet="flex-end" background="#ffffff" style={{ position: "relative" }} + flexWrap_sm="nowrap" + flexWrap="wrap" >
- {/* {program.sub_title.toLowerCase() != "online" && */}

{program.sub_title}

- - {/* // } */} {program.title.split("\n").map((m, i) => (

@@ -220,7 +219,6 @@ const ChooseYourProgram = ({ color="black" font='"Lato", sans-serif' width="fit-content" - margin="20px 10px 0 0" pointer textColor={Colors.black} fontSize={"13px"} diff --git a/src/components/Sections/index.js b/src/components/Sections/index.js index 7e7d6a660..e99757170 100644 --- a/src/components/Sections/index.js +++ b/src/components/Sections/index.js @@ -234,6 +234,7 @@ export const Div = styled.div` display: ${(props) => props.display_sm}; column-count: ${(props) => props.columnCount_sm}; flex-direction: ${(props) => props.flexDirection_sm}; + flex-wrap: ${(props) => props.flexWrap_sm}; display: ${(props) => props.display_sm}; order: ${(props) => props.order_sm}; margin: ${(props) => props.margin_sm}; @@ -279,6 +280,7 @@ export const Div = styled.div` flex: ${(props) => props.flex_tablet}; flex-shrink: ${(props) => props.flexShrink_tablet ? props.flexShrink_tablet : 1}; + flex-wrap: ${(props) => props.flexWrap_tablet}; border: ${(props) => props.border_tablet}; border-top: ${(props) => props.borderTop_tablet}; top: ${(props) => props.top_tablet};