diff --git a/src/components/main/PageWrapper.tsx b/src/components/main/PageWrapper.tsx index 0a36260c0..54cf22439 100644 --- a/src/components/main/PageWrapper.tsx +++ b/src/components/main/PageWrapper.tsx @@ -11,7 +11,7 @@ import CreatorDashboardSidebar, { } from '../creators/CreatorDashboardSidebar' import TopUsersCard from '../creators/TopUsersCard' import ProgressModal from '../leaderboard/ProgressModal' -import { useIsMobileWidthOrDevice, useResponsiveSize } from '../responsive' +import { useIsMobileWidthOrDevice } from '../responsive' import { fullUrl } from '../urls/helpers' import Section from '../utils/Section' @@ -125,7 +125,6 @@ export const PageContent: FC = ({ // const myAddress = useMyAddress() const isMobile = useIsMobileWidthOrDevice() - const { isLargeDesktop } = useResponsiveSize() // const isPanels = leftPanel || rightPanel const sidebarStyles: ComponentProps<'div'> = { @@ -155,8 +154,8 @@ export const PageContent: FC = ({ ) : (
- {creatorDashboardSidebarType && isLargeDesktop && ( -
+ {creatorDashboardSidebarType && ( +
@@ -202,11 +201,9 @@ export const PageContent: FC = ({ {rightPanel === undefined && creatorDashboardSidebarType && (
- {!isLargeDesktop && ( -
- -
- )} +
+ +
{/* setShowOnBoardingSidebar(false)} /> */}
)} diff --git a/src/styles/subsocial.scss b/src/styles/subsocial.scss index 904e06423..62536a752 100644 --- a/src/styles/subsocial.scss +++ b/src/styles/subsocial.scss @@ -2264,10 +2264,16 @@ hr { } } +.xl-only { + display: none; +} @media screen and (min-width: 1200px) { .xl-hidden { display: none !important; } + .xl-only { + display: block; + } } .\!FontTiny {