|
|
@ -476,7 +476,7 @@ export function TableNG(props: TableNGProps) { |
|
|
|
avgCharWidth, |
|
|
|
avgCharWidth, |
|
|
|
defaultLineHeight, |
|
|
|
defaultLineHeight, |
|
|
|
defaultRowHeight, |
|
|
|
defaultRowHeight, |
|
|
|
TABLE.CELL_PADDING * 2, |
|
|
|
TABLE.CELL_PADDING, |
|
|
|
fieldsData |
|
|
|
fieldsData |
|
|
|
); |
|
|
|
); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -950,7 +950,7 @@ const getStyles = (theme: GrafanaTheme2, textWrap: boolean) => ({ |
|
|
|
cell: css({ |
|
|
|
cell: css({ |
|
|
|
'--rdg-border-color': theme.colors.border.medium, |
|
|
|
'--rdg-border-color': theme.colors.border.medium, |
|
|
|
borderLeft: 'none', |
|
|
|
borderLeft: 'none', |
|
|
|
whiteSpace: `${textWrap ? 'break-spaces' : 'nowrap'}`, |
|
|
|
whiteSpace: `${textWrap ? 'normal' : 'nowrap'}`, |
|
|
|
wordWrap: 'break-word', |
|
|
|
wordWrap: 'break-word', |
|
|
|
overflow: 'hidden', |
|
|
|
overflow: 'hidden', |
|
|
|
textOverflow: 'ellipsis', |
|
|
|
textOverflow: 'ellipsis', |
|
|
|