From 8c47373d74fbd3776c1288a1e75dc288747f7bd3 Mon Sep 17 00:00:00 2001 From: matt abrams <37156449+zuchka@users.noreply.github.com> Date: Fri, 11 Feb 2022 00:57:22 -1000 Subject: [PATCH] LibraryPanels: Prevent long descriptions and names from obscuring the delete button (#45190) * fix library panel description wrapping * make panel name wrap --- .../features/panel/components/VizTypePicker/PanelTypeCard.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/app/features/panel/components/VizTypePicker/PanelTypeCard.tsx b/public/app/features/panel/components/VizTypePicker/PanelTypeCard.tsx index fb4b4aa9f81..c357de03032 100644 --- a/public/app/features/panel/components/VizTypePicker/PanelTypeCard.tsx +++ b/public/app/features/panel/components/VizTypePicker/PanelTypeCard.tsx @@ -112,7 +112,6 @@ const getStyles = (theme: GrafanaTheme2) => { name: css` text-overflow: ellipsis; overflow: hidden; - white-space: nowrap; font-size: ${theme.typography.size.sm}; font-weight: ${theme.typography.fontWeightMedium}; width: 100%; @@ -120,7 +119,6 @@ const getStyles = (theme: GrafanaTheme2) => { description: css` text-overflow: ellipsis; overflow: hidden; - white-space: nowrap; color: ${theme.colors.text.secondary}; font-size: ${theme.typography.bodySmall.fontSize}; font-weight: ${theme.typography.fontWeightLight};