mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
NewPanelEditor: Fix visualisation list badge verflow (#23936)
This commit is contained in:
@@ -72,7 +72,6 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
|
|||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 200px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -85,6 +84,7 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
|
|||||||
itemContent: css`
|
itemContent: css`
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
width: 100%;
|
||||||
`,
|
`,
|
||||||
current: css`
|
current: css`
|
||||||
label: currentVisualizationItem;
|
label: currentVisualizationItem;
|
||||||
@@ -120,6 +120,7 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: ${theme.spacing.xs};
|
bottom: ${theme.spacing.xs};
|
||||||
right: ${theme.spacing.xs};
|
right: ${theme.spacing.xs};
|
||||||
|
z-index: 1;
|
||||||
`,
|
`,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user