From f594ac99cba871444c87dd7d18b07705facf5b4b Mon Sep 17 00:00:00 2001 From: ali asaria <aliasaria@users.noreply.github.com> Date: Thu, 30 Jan 2025 14:42:52 -0500 Subject: [PATCH] remove chip from version in plugin --- src/renderer/components/Plugins/PluginCard.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/renderer/components/Plugins/PluginCard.tsx b/src/renderer/components/Plugins/PluginCard.tsx index e5de9ccc..740d1a85 100644 --- a/src/renderer/components/Plugins/PluginCard.tsx +++ b/src/renderer/components/Plugins/PluginCard.tsx @@ -72,22 +72,16 @@ export default function PluginCard({ <Chip>{type}</Chip> </b> </Typography> - <Typography level="body-md" fontSize="sm" sx={{ mt: 0.5, mb: 0.5 }}> + <Typography level="body-md" fontSize="sm" sx={{ mt: 0.0, mb: 1 }}> {/* {plugin.uniqueId} */} {plugin?.gallery_version ? ( plugin?.version != plugin?.gallery_version ? ( <Chip color="danger">v{plugin.version} Needs Upgrade</Chip> ) : ( - <> - <Chip color="success" variant="outlined"> - v{plugin.version} - </Chip> - </> + <>v{plugin.version}</> ) ) : ( - <Chip color="warning" variant="outlined"> - v{plugin.version} - </Chip> + <>v{plugin.version}</> )} </Typography> -- GitLab