1
0
Fork 0

Fix of spectrogram plotting

merge-requests/351/head
Alfredos-Panagiotis Damkalis 2017-03-27 22:05:24 +03:00
parent 210dcccf37
commit 3b18470125
2 changed files with 18 additions and 0 deletions

View File

@ -442,3 +442,17 @@ span.datetime-time {
max-width: 300px;
border-radius: 5px;
}
/* Overwrite display:none
of bootstrap tab panel */
.tab-content > .tab-pane {
visibility: hidden;
display: inline;
position: absolute;
}
.tab-content > .active {
visibility: visible;
position: initial;
}

View File

@ -44,6 +44,10 @@ $(document).ready(function() {
d3.select('#timeline').append('svg').attr('width', svg_width)
.datum(observation_data).call(chart);
// Set width for not selected tabs
var panelWidth = $('.panel-body').first().width();
$('.tab-pane').css('width', panelWidth);
// Waveform loading
$('.wave').each(function(){
var $this = $(this);