File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -232,11 +232,9 @@ const TableFilters = ({
232
232
let valueLabel = filter . options ?. find ( ( opt ) => opt . value === filter . value )
233
233
?. label || filter . value ;
234
234
return (
235
- < span >
236
- { t ( filter . label ) . substr ( 0 , 40 ) } :
237
- { filter . translatable
238
- ? t ( valueLabel ) . substr ( 0 , 40 )
239
- : valueLabel . substr ( 0 , 40 ) }
235
+ < span className = "table-filter-blue-box" >
236
+ { t ( filter . label ) } :
237
+ { filter . translatable ? t ( valueLabel ) : valueLabel }
240
238
</ span >
241
239
) ;
242
240
} ;
@@ -334,8 +332,8 @@ const TableFilters = ({
334
332
{
335
333
// Use different representation of name and value depending on type of filter
336
334
filter . type === "period" ? (
337
- < span >
338
- { t ( filter . label ) . substr ( 0 , 40 ) } :
335
+ < span className = "table-filter-blue-box" >
336
+ { t ( filter . label ) } :
339
337
{ t ( "dateFormats.date.short" , {
340
338
date : renderValidDate ( filter . value . split ( "/" ) [ 0 ] ) ,
341
339
} ) }
Original file line number Diff line number Diff line change @@ -619,3 +619,10 @@ tr.info {
619
619
height : auto ;
620
620
}
621
621
}
622
+
623
+ .table-filter-blue-box {
624
+ max-width : 250px ;
625
+ white-space : nowrap ;
626
+ overflow : hidden ;
627
+ text-overflow : ellipsis ;
628
+ }
You can’t perform that action at this time.
0 commit comments