fix: project features modal padding (#5562)
This commit is contained in:
parent
8cf1c2d136
commit
7c3fc690e9
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ import React, { FC } from "react";
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
// ui
|
// ui
|
||||||
import { Button, getButtonStyling } from "@plane/ui";
|
import { Button, getButtonStyling, Row } from "@plane/ui";
|
||||||
// components
|
// components
|
||||||
import { Logo } from "@/components/common";
|
import { Logo } from "@/components/common";
|
||||||
import { ProjectFeaturesList } from "@/components/project/settings";
|
import { ProjectFeaturesList } from "@/components/project/settings";
|
||||||
|
|
@ -28,9 +28,9 @@ export const ProjectFeatureUpdate: FC<Props> = observer((props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="p-2">
|
<Row className="py-6">
|
||||||
<ProjectFeaturesList workspaceSlug={workspaceSlug} projectId={projectId} isAdmin />
|
<ProjectFeaturesList workspaceSlug={workspaceSlug} projectId={projectId} isAdmin />
|
||||||
</div>
|
</Row>
|
||||||
<div className="flex items-center justify-between gap-2 mt-4 px-6 py-4 border-t border-custom-border-100">
|
<div className="flex items-center justify-between gap-2 mt-4 px-6 py-4 border-t border-custom-border-100">
|
||||||
<div className="flex gap-1 text-sm text-custom-text-300 font-medium">
|
<div className="flex gap-1 text-sm text-custom-text-300 font-medium">
|
||||||
Congrats! Project <Logo logo={currentProjectDetails.logo_props} />{" "}
|
Congrats! Project <Logo logo={currentProjectDetails.logo_props} />{" "}
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ export const ProjectFeaturesList: FC<Props> = observer((props) => {
|
||||||
const feature = PROJECT_FEATURES_LIST[featureSectionKey];
|
const feature = PROJECT_FEATURES_LIST[featureSectionKey];
|
||||||
return (
|
return (
|
||||||
<div key={featureSectionKey} className="">
|
<div key={featureSectionKey} className="">
|
||||||
<div className="flex flex-col justify-center border-b border-custom-border-100">
|
<div className="flex flex-col justify-center pb-2 border-b border-custom-border-100">
|
||||||
<h3 className="text-xl font-medium">{feature.title}</h3>
|
<h3 className="text-xl font-medium">{feature.title}</h3>
|
||||||
<h4 className="text-sm leading-5 text-custom-text-200">{feature.description}</h4>
|
<h4 className="text-sm leading-5 text-custom-text-200">{feature.description}</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue