diff --git a/packages/core/BaseFeatureWidget/BaseFeatureDetail/index.tsx b/packages/core/BaseFeatureWidget/BaseFeatureDetail/index.tsx index 753f380d3c..619b229d1f 100644 --- a/packages/core/BaseFeatureWidget/BaseFeatureDetail/index.tsx +++ b/packages/core/BaseFeatureWidget/BaseFeatureDetail/index.tsx @@ -68,7 +68,7 @@ export function BaseCard({ } > - {title} + {title} {children} diff --git a/packages/product-core/src/ui/AboutDialogContents.tsx b/packages/product-core/src/ui/AboutDialogContents.tsx index 44434327c7..f45e0a323d 100644 --- a/packages/product-core/src/ui/AboutDialogContents.tsx +++ b/packages/product-core/src/ui/AboutDialogContents.tsx @@ -14,11 +14,15 @@ import { Attributes, } from '@jbrowse/core/BaseFeatureWidget/BaseFeatureDetail' import FileInfoPanel from './FileInfoPanel' +import RefNamePanel from './RefNameInfoPanel' const useStyles = makeStyles()({ content: { minWidth: 800, }, + button: { + float: 'right', + }, }) function removeAttr(obj: Record, attr: string) { @@ -73,7 +77,7 @@ export default function AboutContents({ {!hideUris ? ( +
+ +
+              {refNames.slice(0, MAX_REF_NAMES).join('\n')}
+              {refNames.length > MAX_REF_NAMES
+                ? '\nToo many refNames to show in browser, use "Copy ref names" button to copy to clipboard'
+                : ''}
+            
+
+ + )} + + ) +}) + +export default RefNamePanel