Skip to content

Commit beb0d14

Browse files
committed
only 3 cards per row
1 parent c5ab522 commit beb0d14

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/landing-page-components/context-providers/mobile-context-provider.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ export const MobileContextProvider = ({ children }) => {
2626
</MobileContext.Provider>
2727
);
2828
};
29-
export const useIsMobile = () => useContext(MobileContext);
29+
export const useIsMobile = () => useContext(MobileContext);

src/components/landing-page-components/sections/landing-page-features-card.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,11 @@ const LandingPageFeaturesCard = () => {
7777
className={isMobile ?
7878
"flex justify-center w-full"
7979
:
80-
"flex justify-center max-w-[20rem] h-[23rem]"
80+
"flex justify-center max-w-[26%] min-w-[20rem] h-[23rem]"
8181
}
82+
// style={{
83+
// maxWidth: isMobile ? "100%" : "26%",
84+
// }}
8285
>
8386
<LandingPageFeatureCard
8487
iconSrc={feature.iconSrc}

0 commit comments

Comments
 (0)