I've been trying to change the background color of a column in a Sharepoint list without full success.
I've been using below JSON code but what bugs me is that it don't fill out the whole cell.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "div",
"debugMode": true,
"txtContent": "@currentField",
"style": {
"background-color": "pink"
}
}
Do you have any ideas on how to solve this?
Thanks