TableNG: Fix some regressions after text wrap refactor (#103663)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
co-authored by
Leon Sorokin
parent
4849f87e82
commit
b59a4fc5b8
@@ -237,6 +237,7 @@ const getStyles = (theme: GrafanaTheme2, isRightAligned: boolean, color: CellCol
|
|||||||
// TODO: follow-up on this: change styles on hover on table row level
|
// TODO: follow-up on this: change styles on hover on table row level
|
||||||
background: color.bgColor || 'none',
|
background: color.bgColor || 'none',
|
||||||
color: color.textColor,
|
color: color.textColor,
|
||||||
|
'&:hover': { background: color.bgHoverColor },
|
||||||
}),
|
}),
|
||||||
cellActions: css({
|
cellActions: css({
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
|||||||
@@ -860,7 +860,7 @@ export function mapFrameToDataGrid({
|
|||||||
showTypeIcons={showTypeIcons}
|
showTypeIcons={showTypeIcons}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
width: fieldTableOptions.width ?? COLUMN.DEFAULT_WIDTH,
|
width: fieldTableOptions.width,
|
||||||
minWidth: fieldTableOptions.minWidth || COLUMN.DEFAULT_WIDTH,
|
minWidth: fieldTableOptions.minWidth || COLUMN.DEFAULT_WIDTH,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user