mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
style: grid fix
This commit is contained in:
@@ -238,8 +238,8 @@ export const AddTemplate = ({ projectId }: Props) => {
|
|||||||
className={cn(
|
className={cn(
|
||||||
"grid gap-6",
|
"grid gap-6",
|
||||||
viewMode === "detailed"
|
viewMode === "detailed"
|
||||||
? "grid-cols-1 sm:grid-cols-2 lg:grid-cols-6"
|
? "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5"
|
||||||
: "grid-cols-2 sm:grid-cols-4 lg:grid-cols-8",
|
: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{templates?.map((template, index) => (
|
{templates?.map((template, index) => (
|
||||||
@@ -340,6 +340,7 @@ export const AddTemplate = ({ projectId }: Props) => {
|
|||||||
<AlertDialog>
|
<AlertDialog>
|
||||||
<AlertDialogTrigger asChild>
|
<AlertDialogTrigger asChild>
|
||||||
<Button
|
<Button
|
||||||
|
variant="secondary"
|
||||||
size="sm"
|
size="sm"
|
||||||
className={cn(
|
className={cn(
|
||||||
"w-auto",
|
"w-auto",
|
||||||
|
|||||||
Reference in New Issue
Block a user