Table: Fix no data message alignment and table selector name (#77700)

* on multiple queries show no data message aligned + set a default table name for empty series

* simplify style

* check if there are fields
This commit is contained in:
Victor Marin
2023-11-07 11:13:19 +02:00
committed by GitHub
parent f7c4909553
commit f6c5b80cca
2 changed files with 2 additions and 2 deletions

View File

@@ -372,7 +372,7 @@ export const Table = memo((props: Props) => {
</CustomScrollbar>
</div>
) : (
<div style={{ height: height - headerHeight }} className={tableStyles.noData}>
<div style={{ height: height - headerHeight, width }} className={tableStyles.noData}>
No data
</div>
)}