Skip to content
Snippets Groups Projects
Commit 66de9406 authored by Azadpour, Elmera's avatar Azadpour, Elmera
Browse files

increase mobile size height

parent 886fb2db
No related branches found
No related tags found
1 merge request!42edit wrapped labels
......@@ -199,7 +199,7 @@ function createBeeswarmChart() {
// Get dynamic dimensions to draw chart
const containerWidth = document.getElementById('beeswarm-chart-container').offsetWidth;
const containerHeight = window.innerWidth <= 700 ? window.innerHeight * 0.5 : 600;
const margin = window.innerWidth <= 700 ? { top: 30, right: 10, bottom: 20, left: 10 } : { top: 40, right: 20, bottom: 40, left: 40 };
const margin = window.innerWidth <= 700 ? { top: 40, right: 10, bottom: 20, left: 10 } : { top: 40, right: 20, bottom: 40, left: 40 };
const width = containerWidth - margin.left - margin.right;
const height = containerHeight - margin.top - margin.bottom;
......
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