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 1515 display : flex ;
1616 align-items : center ;
1717 justify-content : center ;
18- aspect-ratio : 1 ;
18+ width : 28 px ;
1919 height : 100% ;
2020 outline : none ;
2121
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ export const BasicTooltip = ({
2525 { children }
2626 </ Tooltip . Trigger >
2727 < Tooltip . Content side = "bottom" >
28- < span className = "block" > { content } </ span >
28+ < span className = "block text-center whitespace-break-spaces" >
29+ { content }
30+ </ span >
2931 </ Tooltip . Content >
3032 </ Tooltip . Root >
3133 </ Tooltip . Provider >
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ const AlgorithmDetailsContent = ({ algorithm }: { algorithm: Algorithm }) => (
106106 target = "_blank"
107107 >
108108 < span > { translate ( STRING . FIELD_LABEL_ALGORITHM_URI ) } </ span >
109- < ExternalLinkIcon className = "w-4 h-4 ml-2 " />
109+ < ExternalLinkIcon className = "w-4 h-4" />
110110 </ a >
111111 ) }
112112 { algorithm . categoryMapURI && (
@@ -120,7 +120,7 @@ const AlgorithmDetailsContent = ({ algorithm }: { algorithm: Algorithm }) => (
120120 target = "_blank"
121121 >
122122 < 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" />
124124 </ a >
125125 ) }
126126 </ div >
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ const TaxonCell = ({
186186
187187 return (
188188 < div id = { id } className = { styles . taxonCell } >
189- < BasicTableCell >
189+ < BasicTableCell style = { { minWidth : '320px' } } >
190190 < div className = { styles . taxonCellContent } >
191191 < Link to = { detailsRoute } >
192192 < 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 }) => {
7474 />
7575 </ InfoBlockField >
7676 < 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 >
8890 </ InfoBlockField >
8991 < InfoBlockField
9092 className = "no-print"
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export const columns: (projectId: string) => TableColumn<Species>[] = (
4242 keepSearchParams : true ,
4343 } ) }
4444 >
45- < BasicTableCell >
45+ < BasicTableCell style = { { minWidth : '320px' } } >
4646 < TaxonDetails compact taxon = { item } />
4747 </ BasicTableCell >
4848 </ Link >
You can’t perform that action at this time.
0 commit comments