File tree Expand file tree Collapse file tree 6 files changed +21
-17
lines changed Expand file tree Collapse file tree 6 files changed +21
-17
lines changed Original file line number Diff line number Diff line change 15
15
display : flex ;
16
16
align-items : center ;
17
17
justify-content : center ;
18
- aspect-ratio : 1 ;
18
+ width : 28 px ;
19
19
height : 100% ;
20
20
outline : none ;
21
21
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ export const BasicTooltip = ({
25
25
{ children }
26
26
</ Tooltip . Trigger >
27
27
< Tooltip . Content side = "bottom" >
28
- < span className = "block" > { content } </ span >
28
+ < span className = "block text-center whitespace-break-spaces" >
29
+ { content }
30
+ </ span >
29
31
</ Tooltip . Content >
30
32
</ Tooltip . Root >
31
33
</ Tooltip . Provider >
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ const AlgorithmDetailsContent = ({ algorithm }: { algorithm: Algorithm }) => (
106
106
target = "_blank"
107
107
>
108
108
< span > { translate ( STRING . FIELD_LABEL_ALGORITHM_URI ) } </ span >
109
- < ExternalLinkIcon className = "w-4 h-4 ml-2 " />
109
+ < ExternalLinkIcon className = "w-4 h-4" />
110
110
</ a >
111
111
) }
112
112
{ algorithm . categoryMapURI && (
@@ -120,7 +120,7 @@ const AlgorithmDetailsContent = ({ algorithm }: { algorithm: Algorithm }) => (
120
120
target = "_blank"
121
121
>
122
122
< span > { translate ( STRING . FIELD_LABEL_CATEGORY_MAP_DETAILS ) } </ span >
123
- < ExternalLinkIcon className = "w-4 h-4 ml-2 " />
123
+ < ExternalLinkIcon className = "w-4 h-4" />
124
124
</ a >
125
125
) }
126
126
</ div >
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ const TaxonCell = ({
186
186
187
187
return (
188
188
< div id = { id } className = { styles . taxonCell } >
189
- < BasicTableCell >
189
+ < BasicTableCell style = { { minWidth : '320px' } } >
190
190
< div className = { styles . taxonCellContent } >
191
191
< Link to = { detailsRoute } >
192
192
< TaxonDetails compact taxon = { item . determinationTaxon } />
Original file line number Diff line number Diff line change @@ -74,17 +74,19 @@ export const SpeciesDetails = ({ species }: { species: Species }) => {
74
74
/>
75
75
</ InfoBlockField >
76
76
< InfoBlockField label = { translate ( STRING . FIELD_LABEL_BEST_SCORE ) } >
77
- < DeterminationScore
78
- score = { species . score }
79
- scoreLabel = { species . scoreLabel }
80
- tooltip = {
81
- species . score
82
- ? translate ( STRING . MACHINE_PREDICTION_SCORE , {
83
- score : `${ species . score } ` ,
84
- } )
85
- : undefined
86
- }
87
- />
77
+ < div >
78
+ < DeterminationScore
79
+ score = { species . score }
80
+ scoreLabel = { species . scoreLabel }
81
+ tooltip = {
82
+ species . score
83
+ ? translate ( STRING . MACHINE_PREDICTION_SCORE , {
84
+ score : `${ species . score } ` ,
85
+ } )
86
+ : undefined
87
+ }
88
+ />
89
+ </ div >
88
90
</ InfoBlockField >
89
91
< InfoBlockField
90
92
className = "no-print"
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export const columns: (projectId: string) => TableColumn<Species>[] = (
42
42
keepSearchParams : true ,
43
43
} ) }
44
44
>
45
- < BasicTableCell >
45
+ < BasicTableCell style = { { minWidth : '320px' } } >
46
46
< TaxonDetails compact taxon = { item } />
47
47
</ BasicTableCell >
48
48
</ Link >
You can’t perform that action at this time.
0 commit comments