mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-19 07:01:35 +00:00
fix(ui): prevent service header overflow on mobile
This commit is contained in:
+4
-4
@@ -123,9 +123,9 @@ const Service = (
|
||||
<div className="w-full">
|
||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl w-full">
|
||||
<div className="rounded-xl bg-background shadow-md ">
|
||||
<CardHeader className="flex flex-row justify-between items-center">
|
||||
<div className="flex flex-col">
|
||||
<CardTitle className="text-xl flex flex-row gap-2 items-center">
|
||||
<CardHeader className="flex w-full min-w-0 flex-row justify-between items-center">
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<CardTitle className="text-xl flex min-w-0 flex-row gap-2 items-center">
|
||||
<div className="relative flex flex-row gap-4 items-center">
|
||||
<ShowIconSettings
|
||||
serviceId={applicationId}
|
||||
@@ -136,7 +136,7 @@ const Service = (
|
||||
<StatusTooltip status={data?.applicationStatus} />
|
||||
</div>
|
||||
</div>
|
||||
{data?.name}
|
||||
<span className="min-w-0 truncate">{data?.name}</span>
|
||||
</CardTitle>
|
||||
{data?.description && (
|
||||
<CardDescription>{data?.description}</CardDescription>
|
||||
|
||||
+4
-4
@@ -114,9 +114,9 @@ const Service = (
|
||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl w-full">
|
||||
<div className="rounded-xl bg-background shadow-md ">
|
||||
<div className="flex flex-col gap-4">
|
||||
<CardHeader className="flex flex-row justify-between items-center">
|
||||
<div className="flex flex-col">
|
||||
<CardTitle className="text-xl flex flex-row gap-2 items-center">
|
||||
<CardHeader className="flex w-full min-w-0 flex-row justify-between items-center">
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<CardTitle className="text-xl flex min-w-0 flex-row gap-2 items-center">
|
||||
<div className="relative flex flex-row gap-4 items-center">
|
||||
<ShowIconSettings
|
||||
serviceId={composeId}
|
||||
@@ -127,7 +127,7 @@ const Service = (
|
||||
<StatusTooltip status={data?.composeStatus} />
|
||||
</div>
|
||||
</div>
|
||||
{data?.name}
|
||||
<span className="min-w-0 truncate">{data?.name}</span>
|
||||
</CardTitle>
|
||||
{data?.description && (
|
||||
<CardDescription>{data?.description}</CardDescription>
|
||||
|
||||
+4
-4
@@ -80,9 +80,9 @@ const Libsql = (
|
||||
</Head>
|
||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl w-full">
|
||||
<div className="rounded-xl bg-background shadow-md ">
|
||||
<CardHeader className="flex flex-row justify-between items-center">
|
||||
<div className="flex flex-col">
|
||||
<CardTitle className="text-xl flex flex-row gap-2">
|
||||
<CardHeader className="flex w-full min-w-0 flex-row justify-between items-center">
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<CardTitle className="text-xl flex min-w-0 flex-row gap-2">
|
||||
<div className="relative flex flex-row gap-4">
|
||||
<div className="absolute -right-1 -top-2">
|
||||
<StatusTooltip status={data?.applicationStatus} />
|
||||
@@ -90,7 +90,7 @@ const Libsql = (
|
||||
|
||||
<LibsqlIcon className="h-6 w-6 text-muted-foreground" />
|
||||
</div>
|
||||
{data?.name}
|
||||
<span className="min-w-0 truncate">{data?.name}</span>
|
||||
</CardTitle>
|
||||
{data?.description && (
|
||||
<CardDescription>{data?.description}</CardDescription>
|
||||
|
||||
+4
-4
@@ -92,9 +92,9 @@ const Mariadb = (
|
||||
</Head>
|
||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl w-full">
|
||||
<div className="rounded-xl bg-background shadow-md ">
|
||||
<CardHeader className="flex flex-row justify-between items-center">
|
||||
<div className="flex flex-col">
|
||||
<CardTitle className="text-xl flex flex-row gap-2">
|
||||
<CardHeader className="flex w-full min-w-0 flex-row justify-between items-center">
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<CardTitle className="text-xl flex min-w-0 flex-row gap-2">
|
||||
<div className="relative flex flex-row gap-4">
|
||||
<div className="absolute -right-1 -top-2">
|
||||
<StatusTooltip status={data?.applicationStatus} />
|
||||
@@ -102,7 +102,7 @@ const Mariadb = (
|
||||
|
||||
<MariadbIcon className="h-6 w-6 text-muted-foreground" />
|
||||
</div>
|
||||
{data?.name}
|
||||
<span className="min-w-0 truncate">{data?.name}</span>
|
||||
</CardTitle>
|
||||
{data?.description && (
|
||||
<CardDescription>{data?.description}</CardDescription>
|
||||
|
||||
+4
-4
@@ -91,9 +91,9 @@ const Mongo = (
|
||||
<div className="w-full">
|
||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl w-full">
|
||||
<div className="rounded-xl bg-background shadow-md ">
|
||||
<CardHeader className="flex flex-row justify-between items-center">
|
||||
<div className="flex flex-col">
|
||||
<CardTitle className="text-xl flex flex-row gap-2">
|
||||
<CardHeader className="flex w-full min-w-0 flex-row justify-between items-center">
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<CardTitle className="text-xl flex min-w-0 flex-row gap-2">
|
||||
<div className="relative flex flex-row gap-4">
|
||||
<div className="absolute -right-1 -top-2">
|
||||
<StatusTooltip status={data?.applicationStatus} />
|
||||
@@ -101,7 +101,7 @@ const Mongo = (
|
||||
|
||||
<MongodbIcon className="h-6 w-6 text-muted-foreground" />
|
||||
</div>
|
||||
{data?.name}
|
||||
<span className="min-w-0 truncate">{data?.name}</span>
|
||||
</CardTitle>
|
||||
{data?.description && (
|
||||
<CardDescription>{data?.description}</CardDescription>
|
||||
|
||||
+4
-4
@@ -91,9 +91,9 @@ const MySql = (
|
||||
<div className="w-full">
|
||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl w-full">
|
||||
<div className="rounded-xl bg-background shadow-md ">
|
||||
<CardHeader className="flex flex-row justify-between items-center">
|
||||
<div className="flex flex-col">
|
||||
<CardTitle className="text-xl flex flex-row gap-2">
|
||||
<CardHeader className="flex w-full min-w-0 flex-row justify-between items-center">
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<CardTitle className="text-xl flex min-w-0 flex-row gap-2">
|
||||
<div className="relative flex flex-row gap-4">
|
||||
<div className="absolute -right-1 -top-2">
|
||||
<StatusTooltip status={data?.applicationStatus} />
|
||||
@@ -101,7 +101,7 @@ const MySql = (
|
||||
|
||||
<MysqlIcon className="h-6 w-6 text-muted-foreground" />
|
||||
</div>
|
||||
{data?.name}
|
||||
<span className="min-w-0 truncate">{data?.name}</span>
|
||||
</CardTitle>
|
||||
{data?.description && (
|
||||
<CardDescription>{data?.description}</CardDescription>
|
||||
|
||||
+4
-4
@@ -90,9 +90,9 @@ const Postgresql = (
|
||||
<div className="w-full">
|
||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl w-full">
|
||||
<div className="rounded-xl bg-background shadow-md ">
|
||||
<CardHeader className="flex flex-row justify-between items-center">
|
||||
<div className="flex flex-col">
|
||||
<CardTitle className="text-xl flex flex-row gap-2">
|
||||
<CardHeader className="flex w-full min-w-0 flex-row justify-between items-center">
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<CardTitle className="text-xl flex min-w-0 flex-row gap-2">
|
||||
<div className="relative flex flex-row gap-4">
|
||||
<div className="absolute -right-1 -top-2">
|
||||
<StatusTooltip status={data?.applicationStatus} />
|
||||
@@ -100,7 +100,7 @@ const Postgresql = (
|
||||
|
||||
<PostgresqlIcon className="h-6 w-6 text-muted-foreground" />
|
||||
</div>
|
||||
{data?.name}
|
||||
<span className="min-w-0 truncate">{data?.name}</span>
|
||||
</CardTitle>
|
||||
{data?.description && (
|
||||
<CardDescription>{data?.description}</CardDescription>
|
||||
|
||||
+4
-4
@@ -90,9 +90,9 @@ const Redis = (
|
||||
<div className="w-full">
|
||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl w-full">
|
||||
<div className="rounded-xl bg-background shadow-md ">
|
||||
<CardHeader className="flex flex-row justify-between items-center">
|
||||
<div className="flex flex-col">
|
||||
<CardTitle className="text-xl flex flex-row gap-2">
|
||||
<CardHeader className="flex w-full min-w-0 flex-row justify-between items-center">
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<CardTitle className="text-xl flex min-w-0 flex-row gap-2">
|
||||
<div className="relative flex flex-row gap-4">
|
||||
<div className="absolute -right-1 -top-2">
|
||||
<StatusTooltip status={data?.applicationStatus} />
|
||||
@@ -100,7 +100,7 @@ const Redis = (
|
||||
|
||||
<RedisIcon className="h-6 w-6 text-muted-foreground" />
|
||||
</div>
|
||||
{data?.name}
|
||||
<span className="min-w-0 truncate">{data?.name}</span>
|
||||
</CardTitle>
|
||||
{data?.description && (
|
||||
<CardDescription>{data?.description}</CardDescription>
|
||||
|
||||
Reference in New Issue
Block a user