thecodeholic / lobipanel

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.
MIT License
168 stars 75 forks source link

Why is 36px of padding added to bottom of body when panel minimized? #53

Open nowherenearithaca opened 6 years ago

nowherenearithaca commented 6 years ago

I just realized that this adds 36px of padding at the bottom of the body when it's minized:

body.lobipanel-minimized { padding-bottom: 36px; }

It was messing up the scrolling on my page, getting a scrollbar appear and the content scrolling up 36px to far.

I set it to 0 in my css, which seemed to deal with it, but I am curious why this padding is added by lobipanel in the first place.

Thanks!

thecodeholic commented 6 years ago

That was done because When a panel is unpinned and minimized it creates a fixed toolbar at the bottom of the page and it may overlap the content at the bottom of the body.