Implement hiding the graph and move elements out of boxes

This commit is contained in:
2022-08-27 18:14:52 +01:00
parent be20fb7a52
commit 383278245e
5 changed files with 21 additions and 8 deletions

View File

@@ -48,9 +48,9 @@
{% endif %}
</div>
{% if params.index != 'int' and params.index != 'meta' %}
<div class="box">
<div style="height: 30rem">
<canvas id="volume"></canvas>
<div>
<div style="height: 30rem" id="sentiment-container" {% if params.show_sentiment is None %} class="is-hidden" {% endif %}>
<canvas id="sentiment-chart"></canvas>
</div>
<script src="{% static 'chart.js' %}"></script>
</div>