I changed the formatting of a text column in a list, added a few, very basic formatting:
{
"$schema": "http://columnformatting.sharepointpnp.com/columnFormattingSchema.json",
"debugMode": true,
"elmType": "div",
"txtContent": "@currentField",
"style": {
"width": "80px",
"background-color": "#189bdb",
"float": "left",
"color": "#fff",
"padding": "5px",
"margin-right": "10px",
"flex": "1",
"height": "80px"
}
}
Then I added a list preview web part to my page (modern site), selected the list, but the format change is not visible. How can I present the new format with the list preview web part?