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) { ...@@ -8,13 +8,13 @@ export default function QueryResult(props) {
const text = const text =
nResults > 0 ? ( 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 ( return (
<div className="mt-sm-3 mb-sm-3"> <div className='mt-sm-2 mb-sm-1'>
<Container>{text}</Container> <Container>{text}</Container>
</div> </div>
); );
......
...@@ -511,8 +511,8 @@ class Voronoi extends React.Component { ...@@ -511,8 +511,8 @@ class Voronoi extends React.Component {
render() { render() {
const { width, height } = this.props; const { width, height } = this.props;
return ( return (
<div className='pt-sm-5 pb-sm-5'> <div className='pt-sm-0 pb-sm-3'>
<Container> <Container id='voronoi-treemap'>
<Row> <Row>
<Col xs={7}> <Col xs={7}>
<svg <svg
......
...@@ -98,7 +98,7 @@ export default function YearRange() { ...@@ -98,7 +98,7 @@ export default function YearRange() {
}; };
return ( return (
<Container> <Container id='timeline'>
<ReactEcharts <ReactEcharts
ref={chartRef} ref={chartRef}
option={options} 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