From c3db5e687317e62e71ca33ce095dc87fc5c1bbfa Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Thu, 24 Aug 2023 19:57:01 +0330 Subject: [PATCH] fix: landing page grid settings --- src/containers/HomePage/HomePage.tsx | 8 -------- .../PodcastShowsPreview/PodcastShowsPreview.tsx | 10 +++++++++- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/containers/HomePage/HomePage.tsx b/src/containers/HomePage/HomePage.tsx index c2ba433..800acdd 100644 --- a/src/containers/HomePage/HomePage.tsx +++ b/src/containers/HomePage/HomePage.tsx @@ -53,14 +53,6 @@ export const HomePage: React.FC = ({ cols: 2, size: 'medium', }, - { - cols: 3, - size: 'small', - }, - { - cols: 5, - size: 'medium', - }, ]} breakpoints={[ { diff --git a/src/containers/PodcastShowsPreview/PodcastShowsPreview.tsx b/src/containers/PodcastShowsPreview/PodcastShowsPreview.tsx index 67f5926..0713444 100644 --- a/src/containers/PodcastShowsPreview/PodcastShowsPreview.tsx +++ b/src/containers/PodcastShowsPreview/PodcastShowsPreview.tsx @@ -97,6 +97,14 @@ export const PodcastShowsPreview: React.FC = ({ breakpoint: 'xs', pattern: [{ cols: 1, size: 'small' }], }, + { + breakpoint: 'sm', + pattern: [{ cols: 2, size: 'small' }], + }, + { + breakpoint: 'md', + pattern: [{ cols: 2, size: 'small' }], + }, ]} /> @@ -183,7 +191,7 @@ const Root = styled('div')` } ${(props) => - lsdUtils.breakpoint( + lsdUtils.responsive( props.theme, 'xs', 'exact',