mayamcdougall / NotePaper

A Theme for PicoCMS
http://development.mayamcdougall.me/pico-themes/NotePaper/
GNU General Public License v3.0
6 stars 6 forks source link

SideBar Theme - Can't Clear Widgets #10

Open mayamcdougall opened 8 years ago

mayamcdougall commented 8 years ago

The SideBar Theme's Widgets can't be cleared and stick out the bottom of the page if it is too short. This is because the sidebar is using absolute positioning and is outside the normal flow of the page.

If the sidebar is no longer absolutely positioned however, it will no longer extend to the length of the content. Absolute positioning is required to be able to set it's height to 100%.

I need a solution that will both cause the page to extend if the widgets are longer than the page AND cause the sidebar to extend if the page is longer than the widgets. The solution also needs to not modify the HTML structure, or at least modify it in a way that doesn't affect the default theme.

The solution is a little beyond me at this point, but if anyone has any input, feel free to comment below.