From 997d217cb26cf9e7fbb47d22cdde0d88b9df0acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E4=B8=AB=E8=AE=B2=E6=A2=B5?= Date: Sun, 27 Sep 2026 10:23:21 +0800 Subject: [PATCH] fix(plugins): wrap marketplace permission badges to stop overflow --- .../plugins/PluginContributionsPanel.vue | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/apps/desktop/src/components/plugins/PluginContributionsPanel.vue b/apps/desktop/src/components/plugins/PluginContributionsPanel.vue index 521a2a08fe..8f798c662e 100644 --- a/apps/desktop/src/components/plugins/PluginContributionsPanel.vue +++ b/apps/desktop/src/components/plugins/PluginContributionsPanel.vue @@ -1070,18 +1070,23 @@ onBeforeUnmount(() => { v{{ listing.plugin.latestVersion }} -
- {{ tag }} - - +
+ - {{ listing.plugin.permissions.join(" · ") }} + {{ tag }} - {{ listing.plugin.permissions.join("\n") }} + {{ tag }} + + + + + {{ + permission + }} + + {{ permission }} - {{ permission }}
@@ -1163,8 +1168,13 @@ onBeforeUnmount(() => { {{ listing.description || t("pluginPlatform.noDescription") }}
-