embed individual graphs in <div> to limit their heights (#29886)
This commit is contained in:
parent
1db755ad95
commit
8353aaddc7
|
@ -86,9 +86,12 @@ select {
|
|||
min-height: 80vh;
|
||||
}
|
||||
#data {
|
||||
height: 70vh;
|
||||
width: calc(100% - 23em);
|
||||
}
|
||||
#data div.graph {
|
||||
height: 70vh;
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
#data.visualization-table {
|
||||
height: auto;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
<h2>{{ table.table_title }}</h2>
|
||||
|
||||
<a href="#" target="none" class="button bijoe-png-button">PNG</a>
|
||||
<canvas id="canvas-{{ forloop.counter }}"></canvas>
|
||||
<div class="graph">
|
||||
<canvas id="canvas-{{ forloop.counter }}"></canvas>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
{{ table.javascript }}
|
||||
|
|
Loading…
Reference in New Issue