LibraryPanels: Prevent long descriptions and names from obscuring the delete button (#45190) (#45284)
* fix library panel description wrapping
* make panel name wrap
(cherry picked from commit 8c47373d74)
Co-authored-by: matt abrams <37156449+zuchka@users.noreply.github.com>
This commit is contained in:
co-authored by
matt abrams
parent
3e351914fd
commit
527e5bb6f8
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user