Skip to content

Commit

Permalink
updates spacing of dialog container
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Dec 17, 2024
1 parent b3085c2 commit 55577e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/src/components/ui/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const DialogContentContainer = ({
className,
...props
}: React.HTMLAttributes<HTMLDivElement>) => (
<div className={cn("space-y-1.5 text-foreground", className)} {...props} />
<div className={cn("space-y-2 text-foreground", className)} {...props} />
);
DialogContentContainer.displayName = "DialogContentContainer";

Expand Down
12 changes: 6 additions & 6 deletions client/src/constants/tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const FILTERS = {
ABATEMENT_POTENTIAL:
"Estimation of the total amount of CO2e abatement that is expected during the life of the project. Used to determine whether the scale justifies the development costs",
PROJECT_SIZE: (
<div className="space-y-2">
<>
<p>
Project size refers to the scale of restoration or conservation efforts,
measured in hectares, and is determined using a standardized approach to
Expand All @@ -102,10 +102,10 @@ export const FILTERS = {
This method allows for meaningful &quot;apples-to-apples&quot;
comparisons across project activities and ecosystem types.
</p>
</div>
</>
),
CARBON_PRICING_TYPE: (
<div className="space-y-2">
<>
<p>
The Carbon Price Type defines the pricing approach used to calculate the
cost of carbon credits, which impacts project costs, including
Expand All @@ -128,10 +128,10 @@ export const FILTERS = {
These two options allow for flexible cost assessments based on
standardized market values or project-specific operational needs.
</p>
</div>
</>
),
COST_TYPE: (
<div className="space-y-2">
<>
<p>
The Cost Type defines the method used to calculate and present project
costs. It offers two approaches to understand the financial requirements
Expand All @@ -157,7 +157,7 @@ export const FILTERS = {
These two cost perspectives offer different insights into project
affordability and financial planning.
</p>
</div>
</>
),
};

Expand Down

0 comments on commit 55577e1

Please sign in to comment.