Skip to content

Item class not working #42

@notthatjen

Description

@notthatjen

Tried to render ChunkCollection, I was expecting each item wrapper to have the class I specified in itemClass attribute.

Example:

<ChunkCollection identifier="col_HUF6cPR4n8Eh" itemClass="flex w-1/2 lg:w-auto py-4" className="flex flex-wrap justify-between pt-8 pb-16">
  <div className="flex justify-center items-center bg-blueGray-50 rounded-xl h-12 w-12 sm:h-20 sm:w-20"><ChunkFieldValue identifier="icon" /></div>
  <div className="sm:py-2 ml-2 sm:ml-6">
    <ChunkFieldValue identifier="count" className="sm:text-2xl font-bold font-heading" />
    <p className="text-xs sm:text-base text-blueGray-400"><ChunkFieldValue identifier="title" /></p>
  </div>
</ChunkCollection>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions