Commit 8f6aa37e authored by Roberto Minelli's avatar Roberto Minelli
Browse files

Small changes to look and feel so that the height fits on a single screen. We...

Small changes to look and feel so that the height fits on a single screen. We should test this on different resolutions though.
parent 3c201e50
......@@ -8,13 +8,13 @@ export default function QueryResult(props) {
const text =
nResults > 0 ? (
<h5 className="card-title text-sm-right">{nResults} results</h5>
<h5 className='card-title text-sm-right'>{nResults} results</h5>
) : (
<h5 className="card-title text-sm-right text-danger">No results!</h5>
<h5 className='card-title text-sm-right text-danger'>No results!</h5>
);
return (
<div className="mt-sm-3 mb-sm-3">
<div className='mt-sm-2 mb-sm-1'>
<Container>{text}</Container>
</div>
);
......
......@@ -511,8 +511,8 @@ class Voronoi extends React.Component {
render() {
const { width, height } = this.props;
return (
<div className='pt-sm-5 pb-sm-5'>
<Container>
<div className='pt-sm-0 pb-sm-3'>
<Container id='voronoi-treemap'>
<Row>
<Col xs={7}>
<svg
......
......@@ -98,7 +98,7 @@ export default function YearRange() {
};
return (
<Container>
<Container id='timeline'>
<ReactEcharts
ref={chartRef}
option={options}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment