TableNG: Fix some regressions after text wrap refactor (#103663)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
Alex Spencer
2025-04-09 10:23:47 -05:00
committed by GitHub
co-authored by Leon Sorokin
parent 4849f87e82
commit b59a4fc5b8
2 changed files with 2 additions and 1 deletions
@@ -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
background: color.bgColor || 'none',
color: color.textColor,
'&:hover': { background: color.bgHoverColor },
}),
cellActions: css({
display: 'flex',
@@ -860,7 +860,7 @@ export function mapFrameToDataGrid({
showTypeIcons={showTypeIcons}
/>
),
width: fieldTableOptions.width ?? COLUMN.DEFAULT_WIDTH,
width: fieldTableOptions.width,
minWidth: fieldTableOptions.minWidth || COLUMN.DEFAULT_WIDTH,
});
});