-<ul class="labelSelection">
+<ul class="labelSelection{if !$field->getClasses()|empty} {implode from=$field->getClasses() item=class glue=' '}{$class}{/implode}{/if}">
{foreach from=$field->getOptions() item=color}
<li{if $color == 'custom'} class="custom"{/if}>
<label class="labelSelection__label">
public function __construct()
{
$this
+ ->addClass('inlineList')
->addFieldClass('labelSelection__radio')
->defaultLabelText(WCF::getLanguage()->get('wcf.acp.label.defaultValue'))
->options(\array_combine(self::AVAILABLE_CSS_CLASSNAMES, self::AVAILABLE_CSS_CLASSNAMES))
cursor: pointer;
}
+.labelSelection.inlineList > li {
+ flex-basis: 30%;
+}
+
.labelSelection > li.custom {
display: flex;
}