This is how the data appears when it's rendered:
https://i.sstatic.net/M0m2u.png
In the above display, you can observe that the data is shown next to each other. I am curious if it is possible to use CSS to present the text in a list format?
Below is my query from Contentful:
query MyQuery {
allContentful {
edges {
node {
feelings
}
}
}
}
OUTPUT:
{
"data": {
"allContentful": {
"edges": [
{
"node": {
"feelings": [
"Happy / Good Mood",
"Creative",
"Sleepy / Couch Lock"
]
}
},
And this is what is returned:
const StrainTemplate = ({
data: {
strain: {
feelings,
},
},
<p className="info-text"{feelings}</p>