From b8f7c9ab86dce3e00079c2f6849255104f98b647 Mon Sep 17 00:00:00 2001 From: David Harris Date: Fri, 3 May 2024 14:48:13 +0100 Subject: [PATCH] make pretty --- .betterer.results | 3 --- .../admin/components/Badges/PluginEnterpriseBadge.tsx | 9 ++++++++- .../features/plugins/admin/components/PluginListItem.tsx | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.betterer.results b/.betterer.results index 87778c24886..1cfbf93c1a1 100644 --- a/.betterer.results +++ b/.betterer.results @@ -3725,9 +3725,6 @@ exports[`better eslint`] = { [0, 0, 0, "Do not re-export imported variable (\`./localPlugin.mock\`)", "1"], [0, 0, 0, "Do not use export all (\`export * from ...\`)", "2"] ], - "public/app/features/plugins/admin/components/Badges/PluginEnterpriseBadge.tsx:5381": [ - [0, 0, 0, "\'HorizontalGroup\' import from \'@grafana/ui\' is restricted from being used by a pattern. Use Stack component instead.", "0"] - ], "public/app/features/plugins/admin/components/Badges/PluginUpdateAvailableBadge.tsx:5381": [ [0, 0, 0, "Styles should be written using objects.", "0"] ], diff --git a/public/app/features/plugins/admin/components/Badges/PluginEnterpriseBadge.tsx b/public/app/features/plugins/admin/components/Badges/PluginEnterpriseBadge.tsx index 9abbca64036..7af550d392a 100644 --- a/public/app/features/plugins/admin/components/Badges/PluginEnterpriseBadge.tsx +++ b/public/app/features/plugins/admin/components/Badges/PluginEnterpriseBadge.tsx @@ -27,7 +27,14 @@ export function PluginEnterpriseBadge({ plugin }: Props): React.ReactElement { return ( - + diff --git a/public/app/features/plugins/admin/components/PluginListItem.tsx b/public/app/features/plugins/admin/components/PluginListItem.tsx index d86cfb4955a..b05c8532e4b 100644 --- a/public/app/features/plugins/admin/components/PluginListItem.tsx +++ b/public/app/features/plugins/admin/components/PluginListItem.tsx @@ -152,7 +152,7 @@ export const getStyles = (theme: GrafanaTheme2) => { color: theme.colors.text.primary, margin: 0, wordBreak: 'normal', - overflowWrap: 'anywhere' + overflowWrap: 'anywhere', }), }; };