From 23f63e3f324cf10cd0e60cc5f3ecbff0b5696259 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Wed, 26 Jun 2019 12:09:14 +0200 Subject: [PATCH] SONAR-12070 Make large modals scrollable --- .../apps/coding-rules/components/ActivationFormModal.tsx | 2 +- .../__snapshots__/ActivationFormModal-test.tsx.snap | 2 +- .../src/main/js/apps/custom-metrics/components/Form.tsx | 2 +- .../components/__tests__/__snapshots__/Form-test.tsx.snap | 2 +- .../main/js/apps/groups/components/EditMembersModal.tsx | 4 ++-- .../__tests__/__snapshots__/EditMembers-test.tsx.snap | 8 ++++---- .../__snapshots__/EditMembersModal-test.tsx.snap | 2 +- .../main/js/apps/issues/components/BulkChangeModal.tsx | 3 +-- .../__tests__/__snapshots__/BulkChangeModal-test.tsx.snap | 4 ++-- .../apps/quality-profiles/details/ChangeProjectsForm.tsx | 2 +- .../__snapshots__/ChangeProjectsForm-test.tsx.snap | 2 +- .../src/main/js/apps/users/components/GroupsForm.tsx | 2 +- .../src/main/js/apps/users/components/UserForm.tsx | 2 +- .../__tests__/__snapshots__/GroupsForm-test.tsx.snap | 2 +- .../__tests__/__snapshots__/UserForm-test.tsx.snap | 4 ++-- 15 files changed, 21 insertions(+), 22 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx index 490b971bab5..9d9b7611608 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx @@ -159,7 +159,7 @@ export default class ActivationFormModal extends React.PureComponent{this.props.modalHeader} -
+
{!isUpdateMode && activeInAllProfiles && ( {translate('coding_rules.active_in_all_profiles')} )} diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/ActivationFormModal-test.tsx.snap b/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/ActivationFormModal-test.tsx.snap index 2225b883507..2507c2d70c1 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/ActivationFormModal-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/ActivationFormModal-test.tsx.snap @@ -17,7 +17,7 @@ exports[`render correctly 1`] = `
{

{this.props.header}

-
+