mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-18 09:55:19 +00:00
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.
This commit is contained in:
@@ -1039,7 +1039,9 @@ const EnvironmentPage = (
|
|||||||
<CardHeader className="p-0">
|
<CardHeader className="p-0">
|
||||||
<CardTitle className="text-xl flex flex-row gap-2 items-center">
|
<CardTitle className="text-xl flex flex-row gap-2 items-center">
|
||||||
<FolderInput className="size-6 text-muted-foreground self-center" />
|
<FolderInput className="size-6 text-muted-foreground self-center" />
|
||||||
{currentEnvironment.project.name}
|
<p className="text-base font-medium max-w-[250px] truncate">
|
||||||
|
{currentEnvironment.project.name}
|
||||||
|
</p>
|
||||||
<AdvancedEnvironmentSelector
|
<AdvancedEnvironmentSelector
|
||||||
projectId={projectId}
|
projectId={projectId}
|
||||||
currentEnvironmentId={environmentId}
|
currentEnvironmentId={environmentId}
|
||||||
|
|||||||
Reference in New Issue
Block a user