From 4540cf74fce38f6a0f0fc9fea1bec7be78aa7b1b Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Mon, 4 Dec 2023 18:05:23 +0100 Subject: [PATCH] SONAR-21067 Fixes from validation --- .../components/inputs/PropertySetInput.tsx | 30 ++++++++++--------- .../AlmSpecificForm.tsx | 6 ++-- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/settings/components/inputs/PropertySetInput.tsx b/server/sonar-web/src/main/js/apps/settings/components/inputs/PropertySetInput.tsx index 8c9bd9d9643..5dbaccb068d 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/inputs/PropertySetInput.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/inputs/PropertySetInput.tsx @@ -77,25 +77,27 @@ export default class PropertySetInput extends React.PureComponent this.handleInputChange(index, field.key, value)} setting={newSetting} - size="auto" + size="full" value={fieldValues[field.key]} /> ); })} - {!isLast && ( - this.handleDeleteValue(index)} - /> - )} +
+ {!isLast && ( + this.handleDeleteValue(index)} + /> + )} +
); @@ -106,7 +108,7 @@ export default class PropertySetInput extends React.PureComponent 'auto') + .map(() => '50%') .concat('1px'); return ( diff --git a/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecorationBinding/AlmSpecificForm.tsx b/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecorationBinding/AlmSpecificForm.tsx index de956ccca47..59d2ca83c05 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecorationBinding/AlmSpecificForm.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/pullRequestDecorationBinding/AlmSpecificForm.tsx @@ -23,7 +23,7 @@ import { FormattedMessage } from 'react-intl'; 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'; @@ -297,7 +297,9 @@ export function AlmSpecificForm(props: AlmSpecificFormProps) { help: true, helpParams: { doc_link: ( - {translate('learn_more')} + + {translate('learn_more')} + ), }, id: 'monorepo', -- 2.39.5