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

* fix library panel description wrapping

* make panel name wrap
This commit is contained in:
matt abrams
2022-02-11 10:57:22 +00:00
committed by GitHub
parent 4a7cc3e0f0
commit 8c47373d74
@@ -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};