@@ -97,7 +97,7 @@ const TlsDetails = (props: Props) => {
97
97
caCertificates ?. forEach ( ( cert ) => {
98
98
optionsCertsCA . push ( {
99
99
value : cert . id ,
100
- inputDisplay : cert . name ,
100
+ inputDisplay : < span className = { styles . selectedOptionWithLongTextSupport } > { cert . name } </ span > ,
101
101
dropdownDisplay : (
102
102
< div style = { { display : 'flex' , justifyContent : 'space-between' , alignItems : 'center' } } >
103
103
< div > { truncateText ( cert . name , 25 ) } </ div >
@@ -128,7 +128,7 @@ const TlsDetails = (props: Props) => {
128
128
certificates ?. forEach ( ( cert ) => {
129
129
optionsCertsClient . push ( {
130
130
value : `${ cert . id } ` ,
131
- inputDisplay : cert . name ,
131
+ inputDisplay : < span className = { styles . selectedOptionWithLongTextSupport } > { cert . name } </ span > ,
132
132
dropdownDisplay : (
133
133
< div style = { { display : 'flex' , justifyContent : 'space-between' , alignItems : 'center' } } >
134
134
< div > { truncateText ( cert . name , 25 ) } </ div >
@@ -323,7 +323,6 @@ const TlsDetails = (props: Props) => {
323
323
< EuiSuperSelect
324
324
placeholder = "Select certificate"
325
325
valueOfSelected = { formik . values . selectedTlsClientCertId }
326
- className = { styles . selectWithLongTextSupport }
327
326
options = { optionsCertsClient }
328
327
onChange = { ( value ) => {
329
328
formik . setFieldValue ( 'selectedTlsClientCertId' , value )
0 commit comments