mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Table: Update background in nested table (#96754)
This commit is contained in:
parent
3ceaa42d20
commit
d152770b6a
@ -36,6 +36,8 @@ export function ExpandedRow({ tableStyles, nestedData, rowIndex, width, cellHeig
|
||||
paddingLeft: EXPANDER_WIDTH,
|
||||
position: 'absolute',
|
||||
top,
|
||||
backgroundColor: theme.colors.background.primary,
|
||||
color: theme.colors.text.primary,
|
||||
};
|
||||
|
||||
top += height + theme.spacing.gridSize;
|
||||
|
@ -286,6 +286,7 @@ export const RowsList = (props: RowsListProps) => {
|
||||
const { bgColor, textColor } = rowBg(row.index);
|
||||
style.background = bgColor;
|
||||
style.color = textColor;
|
||||
style.borderLeft = `2px solid ${bgColor}`;
|
||||
}
|
||||
|
||||
// If there's a text wrapping field we set the height of it here
|
||||
|
Loading…
Reference in New Issue
Block a user