mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
style: profile settings, activity, preference page padding (#1335)
This commit is contained in:
parent
f839150741
commit
9c85704be3
@ -4,6 +4,7 @@ import useSWR from "swr";
|
||||
import userService from "services/user.service";
|
||||
// layouts
|
||||
import { WorkspaceAuthorizationLayout } from "layouts/auth-layout";
|
||||
import SettingsNavbar from "layouts/settings-navbar";
|
||||
// components
|
||||
import { Feeds } from "components/core";
|
||||
// ui
|
||||
@ -11,7 +12,6 @@ import { Loader } from "components/ui";
|
||||
import { BreadcrumbItem, Breadcrumbs } from "components/breadcrumbs";
|
||||
// fetch-keys
|
||||
import { USER_ACTIVITY } from "constants/fetch-keys";
|
||||
import SettingsNavbar from "layouts/settings-navbar";
|
||||
|
||||
const ProfileActivity = () => {
|
||||
const { data: userActivity } = useSWR(USER_ACTIVITY, () => userService.getUserActivity());
|
||||
@ -24,8 +24,8 @@ const ProfileActivity = () => {
|
||||
</Breadcrumbs>
|
||||
}
|
||||
>
|
||||
<div className="px-24 py-8">
|
||||
<div className="mb-12 space-y-6">
|
||||
<div className="p-8">
|
||||
<div className="mb-8 space-y-6">
|
||||
<div>
|
||||
<h3 className="text-3xl font-semibold">Profile Settings</h3>
|
||||
<p className="mt-1 text-brand-secondary">
|
||||
|
@ -10,6 +10,7 @@ import useUserAuth from "hooks/use-user-auth";
|
||||
import useToast from "hooks/use-toast";
|
||||
// layouts
|
||||
import { WorkspaceAuthorizationLayout } from "layouts/auth-layout";
|
||||
import SettingsNavbar from "layouts/settings-navbar";
|
||||
// components
|
||||
import { ImageUploadModal } from "components/core";
|
||||
// ui
|
||||
@ -22,7 +23,6 @@ import type { NextPage } from "next";
|
||||
import type { IUser } from "types";
|
||||
// constants
|
||||
import { USER_ROLES } from "constants/workspace";
|
||||
import SettingsNavbar from "layouts/settings-navbar";
|
||||
|
||||
const defaultValues: Partial<IUser> = {
|
||||
avatar: "",
|
||||
@ -136,8 +136,8 @@ const Profile: NextPage = () => {
|
||||
userImage
|
||||
/>
|
||||
{myProfile ? (
|
||||
<div className="px-24 py-8">
|
||||
<div className="mb-12 space-y-6">
|
||||
<div className="p-8">
|
||||
<div className="mb-8 space-y-6">
|
||||
<div>
|
||||
<h3 className="text-3xl font-semibold">Profile Settings</h3>
|
||||
<p className="mt-1 text-brand-secondary">
|
||||
|
@ -25,7 +25,7 @@ const ProfilePreferences = () => {
|
||||
if (myProfile?.theme.palette) setPreLoadedData(myProfile.theme);
|
||||
if (!customThemeSelectorOptions) setCustomThemeSelectorOptions(true);
|
||||
}
|
||||
}, [myProfile, theme]);
|
||||
}, [myProfile, theme, customThemeSelectorOptions]);
|
||||
|
||||
return (
|
||||
<WorkspaceAuthorizationLayout
|
||||
@ -36,8 +36,8 @@ const ProfilePreferences = () => {
|
||||
}
|
||||
>
|
||||
{myProfile ? (
|
||||
<div className="px-24 py-8">
|
||||
<div className="mb-12 space-y-6">
|
||||
<div className="p-8">
|
||||
<div className="mb-8 space-y-6">
|
||||
<div>
|
||||
<h3 className="text-3xl font-semibold">Profile Settings</h3>
|
||||
<p className="mt-1 text-brand-secondary">
|
||||
|
Loading…
Reference in New Issue
Block a user