fix(plugins): full-width category filter and aligned incompatibility note

This commit is contained in:
l0ng-ai
2026-11-04 17:46:51 +08:00
parent 2273c9a292
commit a7cd2e80de
2 changed files with 18 additions and 2 deletions
@@ -380,6 +380,14 @@
min-width: 0;
}
.categorySelect {
width: 100%;
}
.detailsNotice {
margin: 0 0 12px;
}
.marketOverview {
padding: 12px 16px;
overflow: auto;
+10 -2
View File
@@ -635,7 +635,15 @@ function CategoryFilter({
detail: String(counts.get(c)),
})),
];
return <Select aria-label={tx("Category")} value={value} options={options} onChange={onChange} />;
return (
<Select
aria-label={tx("Category")}
className={styles.categorySelect}
value={value}
options={options}
onChange={onChange}
/>
);
}
/** The marketplace index URL, editable in place. */
@@ -722,7 +730,7 @@ function MarketDetails({ entry, onInstalled }: { entry: MarketPlugin; onInstalle
</header>
<div className={styles.marketOverview}>
{!entry.compatible && (
<p className={styles.notice} role="note">
<p className={clsx(styles.notice, styles.detailsNotice)} role="note">
<Icon name="info" size={14} />
<span>{tx`Needs plugin API ${entry.engine}. Update OpenIDEA to install it.`}</span>
</p>