From 1bd7ef6b73da3a4725042308085ec35deb171a40 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Fri, 18 Sep 2015 14:00:03 +0530 Subject: [PATCH] metrics: show metrics table if it shoots off horizontal x axis Signed-off-by: Rohit Yadav --- ui/scripts/ui-custom/metricsView.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/scripts/ui-custom/metricsView.js b/ui/scripts/ui-custom/metricsView.js index 06d880d6fbf..7f887d1ebfc 100644 --- a/ui/scripts/ui-custom/metricsView.js +++ b/ui/scripts/ui-custom/metricsView.js @@ -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); }