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
|
||||
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,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user