Skip to content

Template card hides the Create button when a template has many tags (e.g. Portabase) #5660

Closed

Description

@manozzo

To Reproduce

  1. Open a project → Create Service → Template
  2. Keep the default detailed view mode
  3. Search for portabase

Current vs. Expected behavior

Current: the Portabase card shows its 27 tags. The tag list takes up the whole card, so the description and the footer (GitHub / website / docs links and the Create button) are pushed out of view. You can't deploy the template from the card.

Expected: every card shows its Create button, however many tags the template has.

Root cause (apps/dokploy/components/dashboard/project/add-template.tsx):

  • The card has a fixed height and hides overflow: h-[400px] + overflow-hidden (L392-394).
  • The header is flex-none and renders every tag with no limit (L435-448). It grows to fit all of them.
  • The description is min-h-0 flex-1, so it shrinks to 0. The footer (flex-none mt-auto, L462) is pushed past 400px and gets clipped.

Portabase is the worst case (27 tags), but movary and nebulynk (14 tags each) also squeeze the description.

Suggested fix: show only the first few tags plus a +N badge (with the full list in a tooltip or title), e.g.:

{template.tags.slice(0, 6).map((tag) => ( <Badge ...>{tag}</Badge> ))}
{template.tags.length > 6 && (
  <Badge variant="green" title={template.tags.slice(6).join(", ")}>
    +{template.tags.length - 6}
  </Badge>
)}

Another option is a max-h + overflow-hidden on the tags wrapper. The templates repo could also cap tags per blueprint, but the UI should handle long lists anyway.

Provide environment information

  • Dokploy version: v0.30.8 (self-hosted, latest release)
  • Browser: Chromium on Linux
  • Also present in the current canary source

Which area(s) are affected?

Docker Compose (Templates)

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

Screenshot attached: the Portabase card has no footer and no Create button, unlike the Portainer card next to it.

Image

Will you send a PR to fix it?

Maybe, need help

Activity

  1. linear-code commented on Oct 12, 2026

    @linear-code
  2. added a commit that references this issue on Oct 14, 2026
    94f3815
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions