From 2588811ef249f0996527e952e4ef5307c1834a71 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 1 Aug 2018 12:28:54 -0300 Subject: [PATCH] Bug 21139: Floating toolbars - Remove unecessary height This patch remove some pixels under the toolbar, they were used by the hidden element. Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js index dcfaf5fe6b..a7789200d1 100644 --- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js +++ b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js @@ -28,7 +28,7 @@ "visibility": "hidden" }); tbhBis.width(tbh.outerWidth(true)); - tbhBis.height(tbh.outerHeight(true)); + tbhBis.height(tbh.innerHeight(true)); tbhBis.attr('id', tbh.attr('id')+'Bis'); // Avoid 2 elts with the same id tbh.after(tbhBis); tbh.width(tbh.width());