aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>2022-03-29 15:22:34 +0200
committersonartech <sonartech@sonarsource.com>2022-03-29 20:03:37 +0000
commit53c133445166cdd2d26e9088f1f69f679b6f9783 (patch)
tree0af94c1d24e14560cd55c677d3f7aa90178b3fb3
parentaa9f8f3a84f3bc8eb6090e12e63bc4fc3be59e35 (diff)
downloadsonarqube-53c133445166cdd2d26e9088f1f69f679b6f9783.tar.gz
sonarqube-53c133445166cdd2d26e9088f1f69f679b6f9783.zip
SONAR-16199 Styling correction in Select component
-rw-r--r--server/sonar-web/src/main/js/components/controls/Select.tsx9
1 files changed, 3 insertions, 6 deletions
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 e8b963ef918..05eea3b355e 100644
--- a/server/sonar-web/src/main/js/components/controls/Select.tsx
+++ b/server/sonar-web/src/main/js/components/controls/Select.tsx
@@ -135,7 +135,8 @@ export function selectStyle<
maxWidth: '100%',
overflow: 'hidden',
textOverflow: 'ellipsis',
- whiteSpace: 'nowrap'
+ whiteSpace: 'nowrap',
+ display: 'flex'
};
},
indicatorsContainer: () => ({
@@ -219,12 +220,8 @@ export function selectStyle<
textOverflow: 'ellipsis'
}),
input: () => ({
- padding: '0px',
- margin: '0px',
- height: '100%',
display: 'flex',
- alignItems: 'center',
- paddingLeft: '1px'
+ alignItems: 'center'
}),
loadingIndicator: () => ({
position: 'absolute',