Skip to content

Commit d7b9f01

Browse files
committed
fix(ui): update project name display in environment page
- Wrapped the project name in a paragraph element to improve text styling and ensure proper truncation for better readability. - Enhanced the layout of the EnvironmentPage component for a more polished user interface.
1 parent 8f9be16 commit d7b9f01

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/dokploy/pages/dashboard/project/[projectId]/environment/[environmentId].tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,9 @@ const EnvironmentPage = (
10391039
<CardHeader className="p-0">
10401040
<CardTitle className="text-xl flex flex-row gap-2 items-center">
10411041
<FolderInput className="size-6 text-muted-foreground self-center" />
1042-
{currentEnvironment.project.name}
1042+
<p className="text-base font-medium max-w-[250px] truncate">
1043+
{currentEnvironment.project.name}
1044+
</p>
10431045
<AdvancedEnvironmentSelector
10441046
projectId={projectId}
10451047
currentEnvironmentId={environmentId}

0 commit comments

Comments
 (0)