Forum Discussion
EdwardHodson
Aug 12, 2024Copper Contributor
SharePoint List JSON Formatting - Layout elements horizontally instead of vertically
How to I change the JSON below so that the elements shown in the screenshot are laid out horizontally instead of vertically? Thank you, Ed {
"$schema": "https://developer.microsoft.com...
Ankit
Aug 12, 2024Brass Contributor
Hi
To change the layout of the elements from vertical to horizontal, you can use the display property in CSS. Specifically, you can set display to flex or inline-flex to make the elements display horizontally.
Thanks!
To change the layout of the elements from vertical to horizontal, you can use the display property in CSS. Specifically, you can set display to flex or inline-flex to make the elements display horizontally.
Thanks!
- EdwardHodsonAug 13, 2024Copper Contributor
Hi Ankit,
Thanks for your reply. I'm only able to edit the JSON and it's only the elements that I circled in green that I'm looking to layout horizontally. Do you know how the changes can be made in the JSON?
Thank you,
Ed
- AnkitAug 13, 2024Brass ContributorHi Edward,
Sure will provide you JSON code shortly !!
Thanks