From b4c5c71a0b8aadd0f93f928e297f1e914de42c99 Mon Sep 17 00:00:00 2001 From: Chris Joe Date: Tue, 31 May 2016 20:48:59 +1200 Subject: [PATCH] ActionTabSet, Change position absolute to bottom instead of top (#5602) * change position absolute to bottom instead of top * Fixed bottom position to 100% to uncover the tabset title --- admin/client/dist/js/LeftAndMain.ActionTabSet.js | 2 +- admin/client/src/legacy/LeftAndMain.ActionTabSet.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/client/dist/js/LeftAndMain.ActionTabSet.js b/admin/client/dist/js/LeftAndMain.ActionTabSet.js index 25a610e5d..9b025b85f 100644 --- a/admin/client/dist/js/LeftAndMain.ActionTabSet.js +++ b/admin/client/dist/js/LeftAndMain.ActionTabSet.js @@ -107,7 +107,7 @@ } else { this.removeClass('rise-up'); if (activeTab.position() !== null) { - $(activePanel).css('top', '0px'); + $(activePanel).css('bottom', '100%'); } } return false; diff --git a/admin/client/src/legacy/LeftAndMain.ActionTabSet.js b/admin/client/src/legacy/LeftAndMain.ActionTabSet.js index 50fd68d92..bf4bf330c 100644 --- a/admin/client/src/legacy/LeftAndMain.ActionTabSet.js +++ b/admin/client/src/legacy/LeftAndMain.ActionTabSet.js @@ -130,10 +130,10 @@ $.entwine('ss', function($) { $(activePanel).css('top',topPosition+"px"); } } else { - // else remove the rise-up class and set top to 0 + // else remove the rise-up class and set bottom to 100% this.removeClass('rise-up'); if (activeTab.position() !== null){ - $(activePanel).css('top','0px'); + $(activePanel).css('bottom','100%'); } } return false;