Legend: Truncate only for table mode (#74668)

no legend truncation for list mode
This commit is contained in:
Adela Almasan
2023-09-11 11:26:13 -05:00
committed by GitHub
parent ce1169f8b7
commit dc6cd4bb29
@@ -74,7 +74,6 @@ export const VizLegendListItem = <T = unknown,>({
<button
disabled={readonly}
type="button"
title={item.label}
onBlur={onMouseOut}
onFocus={onMouseOver}
onMouseOver={onMouseOver}
@@ -101,9 +100,6 @@ const getStyles = (theme: GrafanaTheme2) => ({
fontSize: 'inherit',
padding: 0,
userSelect: 'text',
maxWidth: '600px',
textOverflow: 'ellipsis',
overflow: 'hidden',
}),
itemDisabled: css({
label: 'LegendLabelDisabled',