Legend: Truncate only for table mode (#74668)
no legend truncation for list mode
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user