Perspective Table: Add prop to style table background

Please add a component prop on the Table component so that we can set the background instead of modifying CSS for this:

.ia_table__body {
    background-color: var(--container); <---
    font-size: 0.875rem;
}

Do you mean this one?

Try a dataset with 2 rows where the table is taller than two rows. That style is setting the background colour of the rows, not of the table background itself (i think)

In 8.1.11 we introduced many new table styles, I think the one you are looking for is bodyStyle?

1 Like