Commit e9f9912d by Ivana Huckova Committed by GitHub

Explore: Adjust the max-width of the tooltip (#20675)

parent 0a3662c3
......@@ -18,8 +18,8 @@ const getTooltipContainerStyles = stylesFactory((theme: GrafanaTheme) => {
wrapper: css`
overflow: hidden;
background: ${bgColor};
/* 30% is an arbitrary choice. We can be more clever about calculating tooltip\'s width */
max-width: 30%;
/* max-width is set up based on .grafana-tooltip class that's used in dashboard */
max-width: 800px;
padding: ${theme.spacing.sm};
border-radius: ${theme.border.radius.sm};
`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment