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:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user