From 7686d4c8c37ce44c8bec3d88e3757ced17d37d40 Mon Sep 17 00:00:00 2001 From: Lukas Date: Fri, 14 Oct 2022 16:20:54 +0200 Subject: [PATCH] Use fallback icon on plugin page (#1268) --- docs/plugins/woodpecker-plugins/src/theme/Icons.tsx | 4 ++-- .../plugins/woodpecker-plugins/src/theme/WoodpeckerPlugin.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/plugins/woodpecker-plugins/src/theme/Icons.tsx b/docs/plugins/woodpecker-plugins/src/theme/Icons.tsx index 4bd734cf2..459dd9be1 100644 --- a/docs/plugins/woodpecker-plugins/src/theme/Icons.tsx +++ b/docs/plugins/woodpecker-plugins/src/theme/Icons.tsx @@ -44,8 +44,8 @@ export const IconWebsite = (size = 32) => ( ); -export const IconPlugin = () => ( - +export const IconPlugin = (maxWidth = 50) => ( + {plugin.description}

- + {plugin.icon ? : IconPlugin(150)}