Skip to content

Commit 9504e70

Browse files
samejrmatt-aitken
authored andcommitted
Improves features section layout
1 parent 8a116ef commit 9504e70

File tree

1 file changed

+4
-6
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.limits

1 file changed

+4
-6
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.limits/route.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ function FeatureRow({ feature }: { feature: FeatureInfo }) {
523523

524524
return feature.enabled ? (
525525
<span className="inline-flex items-center gap-1 text-success">
526-
<CheckIcon className="h-4 w-4" />
526+
<CheckIcon className="size-4" />
527527
Enabled
528528
</span>
529529
) : (
@@ -533,11 +533,9 @@ function FeatureRow({ feature }: { feature: FeatureInfo }) {
533533

534534
return (
535535
<TableRow>
536-
<TableCell>
537-
<div className="flex flex-col">
538-
<span className="font-medium text-text-bright">{feature.name}</span>
539-
<span className="text-xs text-text-dimmed">{feature.description}</span>
540-
</div>
536+
<TableCell className="flex w-full items-center gap-1">
537+
<span className="text-sm">{feature.name}</span>
538+
<InfoIconTooltip content={feature.description} disableHoverableContent />
541539
</TableCell>
542540
<TableCell alignment="right">{displayValue()}</TableCell>
543541
</TableRow>

0 commit comments

Comments
 (0)