aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2022-03-18 15:55:05 +0100
committersonartech <sonartech@sonarsource.com>2022-03-23 20:02:45 +0000
commit0b5a92bdecf6273d794c58e5818dca9d75b62858 (patch)
treef5d8e2346b8c58f5f7656bb014cae22066eba029 /server/sonar-web/src
parent0189114d0fa0e4b18a43eb9dfc13faf4854eec12 (diff)
downloadsonarqube-0b5a92bdecf6273d794c58e5818dca9d75b62858.tar.gz
sonarqube-0b5a92bdecf6273d794c58e5818dca9d75b62858.zip
SONAR-16082 Update select legacy in developer-server extension
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts2
-rw-r--r--server/sonar-web/src/main/js/components/controls/Select.tsx1
2 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts b/server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts
index da109c61de6..243356b07ee 100644
--- a/server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts
+++ b/server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts
@@ -42,6 +42,7 @@ import RadioToggle from '../../../components/controls/RadioToggle';
import ReloadButton from '../../../components/controls/ReloadButton';
import SearchBox from '../../../components/controls/SearchBox';
import SearchSelect from '../../../components/controls/SearchSelect';
+import Select from '../../../components/controls/Select';
import SelectLegacy from '../../../components/controls/SelectLegacy';
import SelectList, { SelectListFilter } from '../../../components/controls/SelectList';
import SimpleModal from '../../../components/controls/SimpleModal';
@@ -246,6 +247,7 @@ const exposeLibraries = () => {
SearchBox,
SearchSelect,
SecurityHotspotIcon,
+ Select,
SelectLegacy,
SelectList,
SelectListFilter,
diff --git a/server/sonar-web/src/main/js/components/controls/Select.tsx b/server/sonar-web/src/main/js/components/controls/Select.tsx
index 8854fa8d61e..91d04865a1e 100644
--- a/server/sonar-web/src/main/js/components/controls/Select.tsx
+++ b/server/sonar-web/src/main/js/components/controls/Select.tsx
@@ -134,6 +134,7 @@ export function selectStyle<
boxShadow: `${others.defaultShadow}`
}),
menuList: () => ({
+ boxSizing: 'border-box',
maxHeight: '198px',
padding: '5px 0',
overflowY: 'auto'