Enonic version: 6.15.4
OS: OSX
There is a difference when rendiring an optional item-set (zero to …) on a content type with max 1 and more than one items.
It would look much better if the outer border for the item set was alway rendered, even when is only one item-set allowed - as provided image, but without the add button on bottom of course.
<item-set name="imageSection">
<label i18n="imageSection.label">Bildeseksjon</label>
<occurrences minimum="0" maximum="1"/>
<items>
<input name="name" type="imageSelector">
<occurrences minimum="0" maximum="2"/>
<label>Bilder</label>
<help-text>Bilde til siden, vises full bredde under topptekstfeltet</help-text>
<config>
<allowPath>/my-site</allowPath>
</config>
</input>
</items>
</item-set>
If you put a second item-set inside the first one, padding is lost for the second item-set (if you have a max one item-set).