LibraryPanels: Prevent long descriptions and names from obscuring the delete button (#45190)

* fix library panel description wrapping

* make panel name wrap
pull/45286/head
matt abrams 3 years ago committed by GitHub
parent 4a7cc3e0f0
commit 8c47373d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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};

Loading…
Cancel
Save