NewPanelEditor: Fix visualisation list badge verflow (#23936)

This commit is contained in:
Dominik Prokop 2020-04-27 14:05:45 +02:00 committed by GitHub
parent 1c750169bd
commit 410e2a8ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,6 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
padding-bottom: 6px;
height: 100px;
width: 100%;
max-width: 200px;
position: relative;
&:hover {
@ -85,6 +84,7 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
itemContent: css`
position: relative;
z-index: 1;
width: 100%;
`,
current: css`
label: currentVisualizationItem;
@ -120,6 +120,7 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => {
position: absolute;
bottom: ${theme.spacing.xs};
right: ${theme.spacing.xs};
z-index: 1;
`,
};
});