diff --git a/src/assets/js/charts.js b/src/assets/js/charts.js index f1211f1..c3c0681 100644 --- a/src/assets/js/charts.js +++ b/src/assets/js/charts.js @@ -14,8 +14,10 @@ function drawChart() { var options = { legend: {alignment: 'end'}, pieHole: 0.4, - width: '500px', - backgroundColor: '#000' + backgroundColor: { + 'fill': '#000', + 'fillOpacity': 0.01 + } }; var chart = new google.visualization.PieChart(document.getElementById('collectionGraph')); diff --git a/src/assets/scss/_single-colecoes.scss b/src/assets/scss/_single-colecoes.scss index 068dbec..111fa42 100644 --- a/src/assets/scss/_single-colecoes.scss +++ b/src/assets/scss/_single-colecoes.scss @@ -13,4 +13,12 @@ font-size: 45px; } } +} +.tainacan-estatisticas{ + #collectionGraph{ + height: 338px; + @media only screen and (max-width: 768px){ + height: 260px; + } + } } \ No newline at end of file diff --git a/src/single-colecoes.php b/src/single-colecoes.php index 922f32f..88bb14a 100644 --- a/src/single-colecoes.php +++ b/src/single-colecoes.php @@ -138,9 +138,11 @@ -