From 16d6a2a16e5ae09a0c14bccd3a77a0480e51a901 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 19 Oct 2017 09:24:31 +0200 Subject: [PATCH] Show horizontal scrollbar directly below data table Resolves: https://github.com/mobz/elasticsearch-head/issues/126 --- _site/app.js | 2 +- src/app/ui/resultTable/resultTable.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_site/app.js b/_site/app.js index 434b8a9d..fee71e70 100644 --- a/_site/app.js +++ b/_site/app.js @@ -2425,7 +2425,7 @@ var height = parent.height() || ( $(document).height() - parent.offset().top - 41 ); // 41 = height in px of .uiTable-tools + uiTable-header var width = parent.width(); this.el.width( width ); - this.body.width( width ).height( height ); + this.body.width( width ); } this._super(parent); }, diff --git a/src/app/ui/resultTable/resultTable.js b/src/app/ui/resultTable/resultTable.js index 6c7cf558..3d552061 100644 --- a/src/app/ui/resultTable/resultTable.js +++ b/src/app/ui/resultTable/resultTable.js @@ -23,7 +23,7 @@ var height = parent.height() || ( $(document).height() - parent.offset().top - 41 ); // 41 = height in px of .uiTable-tools + uiTable-header var width = parent.width(); this.el.width( width ); - this.body.width( width ).height( height ); + this.body.width( width ); } this._super(parent); },