mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Legend: Truncate only for table mode (#74668)
no legend truncation for list mode
This commit is contained in:
parent
ce1169f8b7
commit
dc6cd4bb29
@ -74,7 +74,6 @@ export const VizLegendListItem = <T = unknown,>({
|
|||||||
<button
|
<button
|
||||||
disabled={readonly}
|
disabled={readonly}
|
||||||
type="button"
|
type="button"
|
||||||
title={item.label}
|
|
||||||
onBlur={onMouseOut}
|
onBlur={onMouseOut}
|
||||||
onFocus={onMouseOver}
|
onFocus={onMouseOver}
|
||||||
onMouseOver={onMouseOver}
|
onMouseOver={onMouseOver}
|
||||||
@ -101,9 +100,6 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
|||||||
fontSize: 'inherit',
|
fontSize: 'inherit',
|
||||||
padding: 0,
|
padding: 0,
|
||||||
userSelect: 'text',
|
userSelect: 'text',
|
||||||
maxWidth: '600px',
|
|
||||||
textOverflow: 'ellipsis',
|
|
||||||
overflow: 'hidden',
|
|
||||||
}),
|
}),
|
||||||
itemDisabled: css({
|
itemDisabled: css({
|
||||||
label: 'LegendLabelDisabled',
|
label: 'LegendLabelDisabled',
|
||||||
|
Loading…
Reference in New Issue
Block a user