Skip to content
Snippets Groups Projects
Commit c18cd1a8 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

templates/origin-visits: Reduce timeline height and move it to the top

Closes T2322
parent 79bb9804
No related branches found
No related tags found
1 merge request!351templates/origin-visits: Reduce timeline height and move it to the top
......@@ -22,7 +22,7 @@ export async function createVisitsHistogram(container, visitsData, currentYear,
// histogram size and margins
let width = 1000;
let height = 300;
let height = 200;
let margin = {top: 20, right: 80, bottom: 30, left: 50};
// create responsive svg
......
......@@ -64,6 +64,10 @@ See top-level LICENSE file for more information
</div>
</form>
<h5>Timeline</h5>
<div id="swh-visits-timeline" class="d3-wrapper"></div>
<h5>Calendar</h5>
<div id="swh-visits-calendar"></div>
......@@ -72,9 +76,6 @@ See top-level LICENSE file for more information
<div id="swh-visits-list"></div>
<h5>Timeline</h5>
<div id="swh-visits-timeline" class="d3-wrapper"></div>
</div>
<script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment