diff --git a/web/src/app/home/plugins/plugin-installed/plugin-card/PluginCardComponent.tsx b/web/src/app/home/plugins/plugin-installed/plugin-card/PluginCardComponent.tsx index 92ac329c..969a9786 100644 --- a/web/src/app/home/plugins/plugin-installed/plugin-card/PluginCardComponent.tsx +++ b/web/src/app/home/plugins/plugin-installed/plugin-card/PluginCardComponent.tsx @@ -51,12 +51,12 @@ export default function PluginCardComponent({
-
事件 11
+
事件 {Object.keys(cardVO.event_handlers).length}
-
工具 45
+
工具 {cardVO.tools.length }
diff --git a/web/src/app/home/plugins/plugin-installed/plugin-card/pluginCard.module.css b/web/src/app/home/plugins/plugin-installed/plugin-card/pluginCard.module.css index f0365ffc..20c77582 100644 --- a/web/src/app/home/plugins/plugin-installed/plugin-card/pluginCard.module.css +++ b/web/src/app/home/plugins/plugin-installed/plugin-card/pluginCard.module.css @@ -59,7 +59,7 @@ flex-direction: row; align-items: center; justify-content: flex-start; - gap: 0.2rem; + gap: 0.4rem; } .name { diff --git a/web/src/app/home/plugins/plugins.module.css b/web/src/app/home/plugins/plugins.module.css index e3a94c0c..133c0b1d 100644 --- a/web/src/app/home/plugins/plugins.module.css +++ b/web/src/app/home/plugins/plugins.module.css @@ -13,8 +13,8 @@ justify-self: flex-start; margin: auto; display: grid; - grid-template-rows: repeat(auto-fill, minmax(160px, 1fr)); - grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); + grid-template-rows: repeat(auto-fill, minmax(12rem, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr)); gap: 15px; /* justify-items: center; */ align-items: center; diff --git a/web/src/components/ui/button.tsx b/web/src/components/ui/button.tsx index f5445cf0..24302e0b 100644 --- a/web/src/components/ui/button.tsx +++ b/web/src/components/ui/button.tsx @@ -10,7 +10,7 @@ const buttonVariants = cva( variants: { variant: { default: - "bg-[#2288ee] text-primary-foreground shadow-xs hover:bg-primary/90", + "bg-[#2288ee] text-primary-foreground shadow-xs hover:bg-[#2277e0]", destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60", outline: