mirror of https://github.com/apache/cloudstack.git
metrics: show metrics table if it shoots off horizontal x axis
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
5c37238042
commit
1bd7ef6b73
|
|
@ -54,7 +54,9 @@
|
|||
listView: metricsListView
|
||||
});
|
||||
// Make metrics tables horizontally scrollable
|
||||
$('.panel::has(.data-table)::not(.reduced)').css({overflow: 'auto'});
|
||||
$panel = $('.panel::has(.data-table)::not(.reduced)');
|
||||
$panel.css({'overflow': 'auto'});
|
||||
$panel.find('.list-view').css({'overflow-x': 'visible'});
|
||||
// Refresh metrics when refresh button is clicked
|
||||
$('.refreshMetrics').click(metricsListView.refreshMetrics);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue