diff --git a/package.json b/package.json index cfe955b1..900e7ebf 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "main": "dist/index.js", "module": "dist/index.js", "scripts": { - "build": "cross-env NODE_ENV=production babel src -d dist --copy-files --ignore '**/*.test.js'", + "build": "cross-env NODE_ENV=production babel --quiet src -d dist --copy-files --ignore '**/*.test.js'", "clean": "rm -rf dist", "lint": "standard", "prepare": "npm run build", diff --git a/src/components/object-info/LinksTable.js b/src/components/object-info/LinksTable.js index 7c67de48..2185bf91 100644 --- a/src/components/object-info/LinksTable.js +++ b/src/components/object-info/LinksTable.js @@ -13,7 +13,7 @@ class LinksTable extends React.Component { const headerClassName = 'mid-gray fw2 tracked silver' const rowHeight = 29 const headerHeight = 32 - const tableHeight = Math.min(370, (links.length * rowHeight) + headerHeight) + const tableHeight = Math.max(370, (Math.min(window.innerHeight - 500, links.length * rowHeight + headerHeight))) return (