mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Adjust the max-width of the tooltip (#20675)
This commit is contained in:
parent
0a3662c359
commit
e9f9912dea
@ -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};
|
||||
`,
|
||||
|
Loading…
Reference in New Issue
Block a user