From 8c9d328c24a124f08fad07353955be798f8de868 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Mon, 11 Mar 2024 21:09:41 +0530 Subject: [PATCH] chore: profile setting scroll fix and scrollbar added in activity section (#3929) --- web/layouts/settings-layout/profile/layout.tsx | 2 +- web/layouts/settings-layout/profile/preferences/layout.tsx | 4 +--- web/pages/profile/activity.tsx | 2 +- web/pages/profile/preferences/email.tsx | 2 +- web/pages/profile/preferences/theme.tsx | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/web/layouts/settings-layout/profile/layout.tsx b/web/layouts/settings-layout/profile/layout.tsx index 67f545a2d..ef778cacb 100644 --- a/web/layouts/settings-layout/profile/layout.tsx +++ b/web/layouts/settings-layout/profile/layout.tsx @@ -21,7 +21,7 @@ export const ProfileSettingsLayout: FC = (props) => {
{header} -
{children}
+
{children}
diff --git a/web/layouts/settings-layout/profile/preferences/layout.tsx b/web/layouts/settings-layout/profile/preferences/layout.tsx index 71a1fdd85..09cbd9649 100644 --- a/web/layouts/settings-layout/profile/preferences/layout.tsx +++ b/web/layouts/settings-layout/profile/preferences/layout.tsx @@ -73,9 +73,7 @@ export const ProfilePreferenceSettingsLayout: FC
{header} -
- {children} -
+
{children}
diff --git a/web/pages/profile/activity.tsx b/web/pages/profile/activity.tsx index bda1295cf..17ad3292c 100644 --- a/web/pages/profile/activity.tsx +++ b/web/pages/profile/activity.tsx @@ -49,7 +49,7 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => { themeStore.toggleSidebar()} />

Activity

-
+
{activityPages} {pageCount < totalPages && resultsCount !== 0 && (
diff --git a/web/pages/profile/preferences/email.tsx b/web/pages/profile/preferences/email.tsx index b34a493e5..923ba70d9 100644 --- a/web/pages/profile/preferences/email.tsx +++ b/web/pages/profile/preferences/email.tsx @@ -28,7 +28,7 @@ const ProfilePreferencesThemePage: NextPageWithLayout = () => { return ( <> -
+
diff --git a/web/pages/profile/preferences/theme.tsx b/web/pages/profile/preferences/theme.tsx index e23e94c66..49aa2a777 100644 --- a/web/pages/profile/preferences/theme.tsx +++ b/web/pages/profile/preferences/theme.tsx @@ -54,7 +54,7 @@ const ProfilePreferencesThemePage: NextPageWithLayout = observer(() => { <> {currentUser ? ( -
+

Preferences