For my document library on sharepoint online modern view, I have a column for Title. I've tried to format it so that the height changes dynamically based on how long the title is and when I save it at first the changes work perfectly, but as soon as I reload the page the changes are reverted. Below is the code I'm using:
{
"elmType": "span",
"txtContent": "@currentField",
"style": {
"white-space" : "normal",
"height" : "auto",
"padding-top" : "8px"
}
}
Does anyone know why this is happening and how I can fix this issue?