File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
redisinsight/ui/src/pages/home/components Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -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 >
Original file line number Diff line number Diff line change 166
166
}
167
167
}
168
168
}
169
+
170
+ .selectedOptionWithLongTextSupport {
171
+ overflow : hidden ;
172
+ text-overflow : ellipsis ;
173
+ padding-right : 1.5rem ;
174
+ }
You can’t perform that action at this time.
0 commit comments