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 <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2018-08-01 12:28:54 -03:00 committed by Nick Clemens
parent 77196e9140
commit 2588811ef2

View file

@ -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());