aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorMathieu Suen <mathieu.suen@sonarsource.com>2020-01-08 10:19:13 +0100
committerSonarTech <sonartech@sonarsource.com>2020-02-21 20:46:15 +0100
commita2c0562b148c6bc7c43aa5b8f191ba6cdea41d30 (patch)
tree8a39691da26ed0624df121171bc8425ce8a4d60a /server/sonar-web/src
parent8fb3808dc495e9ec94886dcf5eac5632c869f67d (diff)
downloadsonarqube-a2c0562b148c6bc7c43aa5b8f191ba6cdea41d30.tar.gz
sonarqube-a2c0562b148c6bc7c43aa5b8f191ba6cdea41d30.zip
SONAR-12762: Move dropdown away from left avoiding being hidden
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/components/BulkChange.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/BulkChange-test.tsx.snap1
2 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/BulkChange.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/BulkChange.tsx
index 4a2a41a1482..dd60587af3d 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/components/BulkChange.tsx
+++ b/server/sonar-web/src/main/js/apps/coding-rules/components/BulkChange.tsx
@@ -25,6 +25,7 @@ import { translate } from 'sonar-ui-common/helpers/l10n';
import { Profile } from '../../../api/quality-profiles';
import { Query } from '../query';
import BulkChangeModal from './BulkChangeModal';
+import { PopupPlacement } from 'sonar-ui-common/components/ui/popups';
interface Props {
languages: T.Languages;
@@ -101,6 +102,7 @@ export default class BulkChange extends React.PureComponent<Props, State> {
<>
<Dropdown
className="pull-left"
+ overlayPlacement={PopupPlacement.BottomLeft}
overlay={
<ul className="menu">
<li>
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/BulkChange-test.tsx.snap b/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/BulkChange-test.tsx.snap
index 4cd43934d35..9e04281ed3b 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/BulkChange-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/__snapshots__/BulkChange-test.tsx.snap
@@ -101,6 +101,7 @@ exports[`should render correctly 1`] = `
</li>
</ul>
}
+ overlayPlacement="bottom-left"
>
<Button
className="js-bulk-change"