Skip to content

Commit 96f7b9c

Browse files
authored
Merge pull request #1409 from VEuPathDB/tweak-ortho-image-aspect
Fix aspect ratio of new ortho help image and add flex-wrap layout
2 parents 0066cd5 + b423d21 commit 96f7b9c

File tree

1 file changed

+6
-4
lines changed
  • packages/sites/ortho-site/webapp/wdkCustomization/js/client/records

1 file changed

+6
-4
lines changed

packages/sites/ortho-site/webapp/wdkCustomization/js/client/records/GroupStats.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,21 @@ export function RecordTable_GroupStats(
1313
<div
1414
style={{
1515
display: 'flex',
16-
flexDirection: 'column',
16+
flexDirection: 'row',
17+
flexWrap: 'wrap',
18+
columnGap: '2em', // only separate when side-by-side (no rowGap)
1719
}}
1820
>
1921
{regularRecordTable}
2022
<figure
2123
style={{
22-
width: 390,
24+
width: 400,
2325
}}
2426
>
2527
<img
2628
alt="The histogram shows the distribution of the median percent identity cohesiveness indicator across all orthologous groups. There is a skewed distribution with a peak at 0-5% identity."
27-
width={390}
28-
height={336}
29+
width={400}
30+
height={400}
2931
src={MGD_hist_img}
3032
/>
3133
<figcaption

0 commit comments

Comments
 (0)