aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2023-05-02 10:54:51 +0200
committersonartech <sonartech@sonarsource.com>2023-05-02 20:02:55 +0000
commitdc738c8dfd4f960050debcfae2ff853d06439cb9 (patch)
tree4b6bf3b78cd0d9aefe168895a1eacecb1105225a /server/sonar-web
parente33c08330e12b059bed035802ded75373c2adf7e (diff)
downloadsonarqube-dc738c8dfd4f960050debcfae2ff853d06439cb9.tar.gz
sonarqube-dc738c8dfd4f960050debcfae2ff853d06439cb9.zip
SONAR-18477 Fix Profile creation modal scrolling
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/home/CreateProfileForm.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/styles.css3
2 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/CreateProfileForm.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/home/CreateProfileForm.tsx
index 47d1983049c..ba27abf1a3b 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/home/CreateProfileForm.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/CreateProfileForm.tsx
@@ -25,11 +25,11 @@ import {
createQualityProfile,
getImporters,
} from '../../../api/quality-profiles';
-import { ResetButtonLink, SubmitButton } from '../../../components/controls/buttons';
import Modal from '../../../components/controls/Modal';
import RadioCard from '../../../components/controls/RadioCard';
import Select from '../../../components/controls/Select';
import ValidationInput from '../../../components/controls/ValidationInput';
+import { ResetButtonLink, SubmitButton } from '../../../components/controls/buttons';
import { Location } from '../../../components/hoc/withRouter';
import CopyQualityProfileIcon from '../../../components/icons/CopyQualityProfileIcon';
import ExtendQualityProfileIcon from '../../../components/icons/ExtendQualityProfileIcon';
@@ -203,7 +203,7 @@ export default class CreateProfileForm extends React.PureComponent<Props, State>
<i className="spinner" />
</div>
) : (
- <div className="modal-body">
+ <div className="modal-body modal-container">
<fieldset className="modal-field big-spacer-bottom">
<label className="spacer-top">
{translate('quality_profiles.chose_creation_type')}
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/styles.css b/server/sonar-web/src/main/js/apps/quality-profiles/styles.css
index a62977828a6..b3636067441 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/styles.css
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/styles.css
@@ -112,9 +112,10 @@
}
#create-profile-form .radio-card {
- width: 245px;
+ width: 244px;
background-color: var(--neutral50);
border: 1px solid var(--neutral200);
+ margin-right: 0;
}
#create-profile-form .radio-card.selected {