Commit 4c9f8000 authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

Larger flow chart on top and table with scrollbar

parent 8717902b
......@@ -75,10 +75,19 @@
<div class="col-md-6" id="story">
<div class="loader"></div>
<div class="row h-50 border-bottom">
<!--<div class="col-6 border-right">-->
<div class="col">
<div id="amchartdiv"></div>
</div>
<!--<div class="col-6">
<div id="df-graph"></div>
</div>-->
</div>
<div class="row h-50">
<div class="col-6 border-right">
<div id="tablediv">
<table class="table table-dark table-striped" id="tblViajes">
<thead>
<table class="table table-dark table-striped table-fixed" id="tblViajes">
<thead class="thead-dark">
<tr>
<th scope="col">Origen</th>
<th scope="col">Destino</th>
......@@ -93,14 +102,6 @@
<div id="perimeter-graph"></div>
</div>
</div>
<div class="row h-50">
<div class="col-6 border-right">
<div id="amchartdiv"></div>
</div>
<div class="col-6">
<div id="df-graph"></div>
</div>
</div>
</div>
</div>
</div>
......
......@@ -246,6 +246,26 @@ span.frac > span {
font: 12px sans-serif;
}
.table-fixed thead {
width: 100%;
}
.table-fixed tbody {
height:-webkit-calc(100% - 45px);
height:-moz-calc(100% - 45px);
height:calc(100% - 45px);
overflow-y: auto;
position: absolute;
}
.table-fixed tr {
width:100%;
display: inline-table;
table-layout: fixed;
}
/* FIX: if scrollbar is hidden, tr goes beyond padding...
/*.table-fixed tr:has([overflow-y]) + .table-fixed tr {width:calc(100% - 15px);}
/******
Icons
******/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment