Skip to content

Commit b59a4fc

Browse files
TableNG: Fix some regressions after text wrap refactor (#103663)
Co-authored-by: Leon Sorokin <[email protected]>
1 parent 4849f87 commit b59a4fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/grafana-ui/src/components/Table/TableNG/Cells/TableCellNG.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ const getStyles = (theme: GrafanaTheme2, isRightAligned: boolean, color: CellCol
237237
// TODO: follow-up on this: change styles on hover on table row level
238238
background: color.bgColor || 'none',
239239
color: color.textColor,
240+
'&:hover': { background: color.bgHoverColor },
240241
}),
241242
cellActions: css({
242243
display: 'flex',

packages/grafana-ui/src/components/Table/TableNG/TableNG.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ export function mapFrameToDataGrid({
860860
showTypeIcons={showTypeIcons}
861861
/>
862862
),
863-
width: fieldTableOptions.width ?? COLUMN.DEFAULT_WIDTH,
863+
width: fieldTableOptions.width,
864864
minWidth: fieldTableOptions.minWidth || COLUMN.DEFAULT_WIDTH,
865865
});
866866
});

0 commit comments

Comments
 (0)