name={getUniqueName(definition, field.key)}
onChange={(value) => this.handleInputChange(index, field.key, value)}
setting={newSetting}
- size="auto"
+ size="full"
value={fieldValues[field.key]}
/>
</ContentCell>
);
})}
<ActionCell className="sw-border-0">
- {!isLast && (
- <DestructiveIcon
- Icon={TrashIcon}
- aria-label={translateWithParameters(
- 'settings.definitions.delete_fields',
- getPropertyName(setting.definition),
- index,
- )}
- className="js-remove-value"
- onClick={() => this.handleDeleteValue(index)}
- />
- )}
+ <div className="sw-w-9">
+ {!isLast && (
+ <DestructiveIcon
+ Icon={TrashIcon}
+ aria-label={translateWithParameters(
+ 'settings.definitions.delete_fields',
+ getPropertyName(setting.definition),
+ index,
+ )}
+ className="js-remove-value"
+ onClick={() => this.handleDeleteValue(index)}
+ />
+ )}
+ </div>
</ActionCell>
</TableRow>
);
const displayedValue = [...this.ensureValue(), ...getEmptyValue(definition)];
const columnWidths = (isCategoryDefinition(definition) ? definition.fields : [])
- .map(() => 'auto')
+ .map(() => '50%')
.concat('1px');
return (
import withAvailableFeatures, {
WithAvailableFeaturesProps,
} from '../../../../app/components/available-features/withAvailableFeatures';
-import DocLink from '../../../../components/common/DocLink';
+import DocumentationLink from '../../../../components/common/DocumentationLink';
import MandatoryFieldMarker from '../../../../components/ui/MandatoryFieldMarker';
import { ALM_DOCUMENTATION_PATHS } from '../../../../helpers/constants';
import { translate } from '../../../../helpers/l10n';
help: true,
helpParams: {
doc_link: (
- <DocLink to={ALM_DOCUMENTATION_PATHS[alm]}>{translate('learn_more')}</DocLink>
+ <DocumentationLink to={ALM_DOCUMENTATION_PATHS[alm]}>
+ {translate('learn_more')}
+ </DocumentationLink>
),
},
id: 'monorepo',