fix: layout padding, tabs size and page heading font sizes (#1067)
This commit is contained in:
parent
3427652c22
commit
ab695a309f
21 changed files with 37 additions and 37 deletions
|
|
@ -91,8 +91,7 @@ const ProjectModules: NextPage = () => {
|
|||
modules.length > 0 ? (
|
||||
<div className="space-y-5 p-8">
|
||||
<div className="flex flex-col gap-5">
|
||||
<h3 className="text-3xl font-semibold text-brand-base">Modules</h3>
|
||||
|
||||
<h3 className="text-2xl font-semibold text-brand-base">Modules</h3>
|
||||
<div className="grid grid-cols-1 gap-9 sm:grid-cols-2 lg:grid-cols-3">
|
||||
{modules.map((module) => (
|
||||
<SingleModuleCard
|
||||
|
|
|
|||
|
|
@ -195,8 +195,9 @@ const ProjectPages: NextPage = () => {
|
|||
</PrimaryButton>
|
||||
}
|
||||
>
|
||||
<div className="space-y-4 p-8">
|
||||
<form
|
||||
<div className="space-y-5 p-8">
|
||||
<h3 className="text-2xl font-semibold text-brand-base">Pages</h3>
|
||||
{/* <form
|
||||
onSubmit={handleSubmit(createPage)}
|
||||
className="relative mb-12 flex items-center justify-between gap-2 rounded-[6px] border border-brand-base p-2 shadow"
|
||||
>
|
||||
|
|
@ -212,7 +213,7 @@ const ProjectPages: NextPage = () => {
|
|||
{isSubmitting ? "Creating..." : "Create"}
|
||||
</PrimaryButton>
|
||||
)}
|
||||
</form>
|
||||
</form> */}
|
||||
<div>
|
||||
<Tab.Group
|
||||
defaultIndex={currentTabValue(pageTab)}
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ const ControlSettings: NextPage = () => {
|
|||
</Breadcrumbs>
|
||||
}
|
||||
>
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="p-8 lg:px-24">
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="p-8">
|
||||
<SettingsHeader />
|
||||
<div className="space-y-8 sm:space-y-12">
|
||||
<div className="grid grid-cols-12 items-start gap-4 sm:gap-16">
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ const EstimatesSettings: NextPage = () => {
|
|||
</Breadcrumbs>
|
||||
}
|
||||
>
|
||||
<div className="p-8 lg:px-24">
|
||||
<div className="p-8">
|
||||
<SettingsHeader />
|
||||
<section className="flex items-center justify-between">
|
||||
<h3 className="text-2xl font-semibold">Estimates</h3>
|
||||
|
|
@ -142,7 +142,7 @@ const EstimatesSettings: NextPage = () => {
|
|||
</section>
|
||||
{estimatesList ? (
|
||||
estimatesList.length > 0 ? (
|
||||
<section className="mt-4 divide-y divide-brand-base rounded-xl border border-brand-base bg-brand-base px-6">
|
||||
<section className="mt-5 divide-y divide-brand-base rounded-xl border border-brand-base bg-brand-base px-6">
|
||||
{estimatesList.map((estimate) => (
|
||||
<SingleEstimate
|
||||
key={estimate.id}
|
||||
|
|
|
|||
|
|
@ -164,9 +164,9 @@ const FeaturesSettings: NextPage = () => {
|
|||
</Breadcrumbs>
|
||||
}
|
||||
>
|
||||
<div className="p-8 lg:px-24">
|
||||
<div className="p-8">
|
||||
<SettingsHeader />
|
||||
<section className="space-y-8">
|
||||
<section className="space-y-5">
|
||||
<h3 className="text-2xl font-semibold">Features</h3>
|
||||
<div className="space-y-5">
|
||||
{featuresList.map((feature) => (
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ const GeneralSettings: NextPage = () => {
|
|||
router.push(`/${workspaceSlug}/projects`);
|
||||
}}
|
||||
/>
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="p-8 lg:px-24">
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="p-8">
|
||||
<SettingsHeader />
|
||||
<div className="space-y-8 sm:space-y-12">
|
||||
<div className="grid grid-cols-12 items-start gap-4 sm:gap-16">
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ const ProjectIntegrations: NextPage = () => {
|
|||
</Breadcrumbs>
|
||||
}
|
||||
>
|
||||
<div className="p-8 lg:px-24">
|
||||
<div className="p-8">
|
||||
<SettingsHeader />
|
||||
{workspaceIntegrations ? (
|
||||
workspaceIntegrations.length > 0 ? (
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ const LabelsSettings: NextPage = () => {
|
|||
</Breadcrumbs>
|
||||
}
|
||||
>
|
||||
<div className="p-8 lg:px-24">
|
||||
<div className="p-8">
|
||||
<SettingsHeader />
|
||||
<section className="grid grid-cols-12 gap-10">
|
||||
<div className="col-span-12 sm:col-span-5">
|
||||
|
|
|
|||
|
|
@ -147,9 +147,9 @@ const MembersSettings: NextPage = () => {
|
|||
</Breadcrumbs>
|
||||
}
|
||||
>
|
||||
<div className="p-8 lg:px-24">
|
||||
<div className="p-8">
|
||||
<SettingsHeader />
|
||||
<section className="space-y-8">
|
||||
<section className="space-y-5">
|
||||
<div className="flex items-end justify-between gap-4">
|
||||
<h3 className="text-2xl font-semibold">Members</h3>
|
||||
<button
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ const StatesSettings: NextPage = () => {
|
|||
</Breadcrumbs>
|
||||
}
|
||||
>
|
||||
<div className="p-8 lg:px-24">
|
||||
<div className="p-8">
|
||||
<SettingsHeader />
|
||||
<div className="grid grid-cols-12 gap-10">
|
||||
<div className="col-span-12 sm:col-span-5">
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ const ProjectViews: NextPage = () => {
|
|||
{views ? (
|
||||
views.length > 0 ? (
|
||||
<div className="space-y-5 p-8">
|
||||
<h3 className="text-3xl font-semibold text-brand-base">Views</h3>
|
||||
<h3 className="text-2xl font-semibold text-brand-base">Views</h3>
|
||||
<div className="divide-y divide-brand-base rounded-[10px] border border-brand-base">
|
||||
{views.map((view) => (
|
||||
<SingleViewItem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue