diff --git a/src/components/services/layout/ApertifResultsLayout.js b/src/components/services/layout/ApertifResultsLayout.js index b1692ad1983f9ef839a6d0e4dd895716bf540f85..0b86e0cf61e730a9b79b2d8d1db88a32ae8d7c37 100644 --- a/src/components/services/layout/ApertifResultsLayout.js +++ b/src/components/services/layout/ApertifResultsLayout.js @@ -3,13 +3,13 @@ import React, { useContext, useState, useEffect } from "react"; export function renderHeaderApertif() { return (<> - <th>Name</th> - <th>RA</th> - <th>Dec</th> - <th>fov</th> - <th>Dataset ID</th> - <th>DataProduct Type</th> - <th>DataProduct SubType</th> + <th style={{width: '10%'}}>Name</th> + <th style={{width: '5%'}}>RA</th> + <th style={{width: '5%'}}>Dec</th> + <th style={{width: '5%'}}>fov</th> + <th style={{width: '10%'}}>DataProduct Type</th> + <th style={{width: '10%'}}>DataProduct SubType</th> + <th style={{width: '5%'}}>Dataset ID</th> </> ); } @@ -21,9 +21,9 @@ export function renderRowApertif(result) { <td>{Number(result.RA).toFixed(1)}</td> <td>{Number(result.dec).toFixed(1)}</td> <td>{Number(result.fov).toFixed(1)}</td> - <td>{result.datasetID}</td> <td>{result.dataProductType}</td> <td>{result.dataProductSubType}</td> + <td>{result.datasetID}</td> </> ); } diff --git a/src/components/services/layout/AstronVOLayout.js b/src/components/services/layout/AstronVOLayout.js index f0f87d09a27d5f4c01fcf72627a7a0105d21a42e..241ace6ee3ca4e9c7fd140ce5582e3cf367085ca 100644 --- a/src/components/services/layout/AstronVOLayout.js +++ b/src/components/services/layout/AstronVOLayout.js @@ -3,13 +3,13 @@ import React, { useContext, useState, useEffect } from "react"; export function renderHeaderAstronVO() { return (<> - <th>Collection</th> - <th>RA</th> - <th>Dec</th> - <th>fov</th> - <th>Data Product Type</th> - <th>Calibration Level</th> - <th>Size</th> + <th style={{width: '10%'}}>Collection</th> + <th style={{width: '5%'}}>RA</th> + <th style={{width: '5%'}}>Dec</th> + <th style={{width: '5%'}}>fov</th> + <th style={{width: '10%'}}>DataProduct Type</th> + <th style={{width: '10%'}}>Calibration Level</th> + <th style={{width: '5%'}}>Size</th> </> ); }