diff --git a/client/src/components/layouts/learn.tsx b/client/src/components/layouts/learn.tsx index c0728d4af95..ea79fa52c58 100644 --- a/client/src/components/layouts/learn.tsx +++ b/client/src/components/layouts/learn.tsx @@ -33,14 +33,12 @@ type LearnLayoutProps = { fetchState: FetchState; tryToShowDonationModal: () => void; children?: React.ReactNode; - hasEditableBoundaries?: boolean; }; function LearnLayout({ fetchState, tryToShowDonationModal, - children, - hasEditableBoundaries + children }: LearnLayoutProps): JSX.Element { useEffect(() => { tryToShowDonationModal(); @@ -65,12 +63,7 @@ function LearnLayout({ -
- {children} -
+
{children}
); diff --git a/client/src/templates/Challenges/classic/classic.css b/client/src/templates/Challenges/classic/classic.css index c2204b06cc0..b7206c43adc 100644 --- a/client/src/templates/Challenges/classic/classic.css +++ b/client/src/templates/Challenges/classic/classic.css @@ -197,9 +197,7 @@ flex-direction: column; } -#learn-app-wrapper[data-has-editable-boundaries='true'] - #mobile-layout - .tab-content[data-state='active'] { +#mobile-layout.has-editable-boundaries .tab-content[data-state='active'] { padding-block-end: 0px; } diff --git a/client/src/templates/Challenges/classic/mobile-layout.tsx b/client/src/templates/Challenges/classic/mobile-layout.tsx index fb9b41b5faa..9c2b3eff6e4 100644 --- a/client/src/templates/Challenges/classic/mobile-layout.tsx +++ b/client/src/templates/Challenges/classic/mobile-layout.tsx @@ -213,6 +213,7 @@ class MobileLayout extends Component { <> - + {isMobile && (