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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',