[WEB-2312] chore: minor UI and UX copy improvements. (#5438)

This commit is contained in:
Prateek Shourya 2024-08-27 17:27:59 +05:30 committed by GitHub
parent 51fba04226
commit 88013e3b06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 17 deletions

View file

@ -28,14 +28,10 @@ export const ProjectFeatureUpdate: FC<Props> = observer((props) => {
return (
<>
<div className="px-4 py-2">
<h3 className="text-base font-medium leading-6">Toggle project features</h3>
<div className="text-sm tracking-tight text-custom-text-200 leading-5">
Turn on features which help you manage and run your project.
</div>
<div className="p-2">
<ProjectFeaturesList workspaceSlug={workspaceSlug} projectId={projectId} isAdmin />
</div>
<ProjectFeaturesList workspaceSlug={workspaceSlug} projectId={projectId} isAdmin />
<div className="flex items-center justify-between gap-2 mt-4 px-4 pt-4 pb-2 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">
Congrats! Project <Logo logo={currentProjectDetails.logo_props} />{" "}
<p className="break-all">{currentProjectDetails.name}</p> created.

View file

@ -61,8 +61,9 @@ export const ProjectFeaturesList: FC<Props> = observer((props) => {
const feature = PROJECT_FEATURES_LIST[featureSectionKey];
return (
<div key={featureSectionKey} className="">
<div className="flex items-center border-b border-custom-border-100 py-3.5">
<div className="flex flex-col justify-center border-b border-custom-border-100 py-3">
<h3 className="text-xl font-medium">{feature.title}</h3>
<h4 className="text-sm leading-5 text-custom-text-200">{feature.description}</h4>
</div>
{Object.keys(feature.featureList).map((featureItemKey) => {
const featureItem = feature.featureList[featureItemKey];