From 9914dcd859b2df9a110a99220c9583bf56783874 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 --- 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 dcfaf5f..a778920 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()); -- 2.1.4