fix: stop the high-risk badge running under the switch in the plugin list on small phones

This commit is contained in:
Linus Rath
2026-11-03 05:19:51 +01:00
parent 1c4781e620
commit f44bef7071
+1 -1
View File
@@ -245,7 +245,7 @@ export function PluginsPage() {
{plugin.forceEnabled && <Badge tone="warning" icon={<Lock className="h-3 w-3" />}>Forced on</Badge>}
{plugin.dev && <Badge tone="info" title="Loaded from the dev plugins directory">Dev</Badge>}
{risky.length > 0 && (
<Badge tone="warning" icon={<ShieldAlert className="h-3 w-3" />} title={risky.join(', ')}>
<Badge tone="warning" icon={<ShieldAlert className="h-3 w-3" />} title={risky.join(', ')} className="whitespace-normal">
{risky.length} high-risk permission{risky.length === 1 ? '' : 's'}
</Badge>
)}