fix: project features modal padding (#5562)

This commit is contained in:
Akshita Goyal 2024-09-09 19:22:47 +05:30 committed by GitHub
parent 8cf1c2d136
commit 7c3fc690e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ import React, { FC } from "react";
import { observer } from "mobx-react";
import Link from "next/link";
// ui
import { Button, getButtonStyling } from "@plane/ui";
import { Button, getButtonStyling, Row } from "@plane/ui";
// components
import { Logo } from "@/components/common";
import { ProjectFeaturesList } from "@/components/project/settings";
@ -28,9 +28,9 @@ export const ProjectFeatureUpdate: FC<Props> = observer((props) => {
return (
<>
<div className="p-2">
<Row className="py-6">
<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 gap-1 text-sm text-custom-text-300 font-medium">
Congrats! Project <Logo logo={currentProjectDetails.logo_props} />{" "}

View file

@ -61,7 +61,7 @@ export const ProjectFeaturesList: FC<Props> = observer((props) => {
const feature = PROJECT_FEATURES_LIST[featureSectionKey];
return (
<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>
<h4 className="text-sm leading-5 text-custom-text-200">{feature.description}</h4>
</div>