It depends - do you want padding around the whole table or just the rows
here’s a css option:
if it’s just the rows you could do the following in theme.css
:
.anvil-data-row-panel .data-row-col:first-child {
padding-left: 20px;
}
.anvil-data-row-panel .data-row-col:last-child {
padding-right: 20px;
}
if it’s the whole table you could do
.anvil-data-grid {
padding: 0 20px;
}
Someone will hopefully chime in with a non-css option - I can’t think of a nice one right now…