diff --git a/src/components/tree/infoPanels/click.js b/src/components/tree/infoPanels/click.js
index dc5406ef2..96146489a 100644
--- a/src/components/tree/infoPanels/click.js
+++ b/src/components/tree/infoPanels/click.js
@@ -79,14 +79,18 @@ const MutationTable = ({mutations}) => {
};
// we encode the table here (rather than via `item()`) to set component keys appropriately
return (
- Object.entries(mutations)
- .sort(geneSortFn)
- .map(([gene, muts], index) => (
-
- {index===0 ? "Mutations from root" : ""} |
- {`${gene}:${muts.sort(mutSortFn).join(", ")}`} |
-
- ))
+
+ {"Mutations from root"} |
+ {
+ Object.entries(mutations)
+ .sort(geneSortFn)
+ .map(([gene, muts]) => (
+
+ {gene}: {muts.sort(mutSortFn).join(", ")}
+
+ ))
+ } |
+
);
};
diff --git a/src/globalStyles.js b/src/globalStyles.js
index 41abf3b87..86fa61cd7 100644
--- a/src/globalStyles.js
+++ b/src/globalStyles.js
@@ -262,7 +262,9 @@ export const infoPanelStyles = {
item: {
paddingTop: 4,
paddingBottom: 4,
- minWidth: 120
+ minWidth: 130,
+ verticalAlign: "top",
+ fontWeight: 300
},
break: {
marginBottom: "10px"