fix(web): keep plugin row action buttons pinned to the header (#1833)

Disable/Uninstall shifted from top-right to bottom-left depending on
whether the plugin description wrapped to multiple lines, because the
description and category badges shared the same flex-wrap row as the
action buttons. Move them below the fixed-height title row so the
buttons no longer move.

Co-authored-by: Kandev Agent <agent@kandev.dev>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
João Salavisa
2026-07-21 00:13:39 +01:00
committed by GitHub
parent 1ca93c0bc8
commit ea28ab0e7a
@@ -68,18 +68,6 @@ export function PluginRow({
</span>
<PluginRepoLink url={plugin.repo_url} />
</div>
{plugin.description && (
<div className="text-xs text-muted-foreground">{plugin.description}</div>
)}
{plugin.categories.length > 0 && (
<div className="flex flex-wrap gap-1 pt-1">
{plugin.categories.map((category) => (
<Badge key={category} variant="secondary" className="text-[11px]">
{category}
</Badge>
))}
</div>
)}
</div>
<PluginRowActions
@@ -94,6 +82,19 @@ export function PluginRow({
onUpdate={onUpdate}
/>
</div>
{plugin.description && (
<div className="text-xs text-muted-foreground">{plugin.description}</div>
)}
{plugin.categories.length > 0 && (
<div className="flex flex-wrap gap-1">
{plugin.categories.map((category) => (
<Badge key={category} variant="secondary" className="text-[11px]">
{category}
</Badge>
))}
</div>
)}
</div>
);
}