latin-language-toolkit/arethusa — pull request #205 by LFDM (2014-06-25 19:05:28+00:00)
Title: Height formatting

Desperate attempts to try to fix the height issues we are having with divs overflowing the editing canvas.

What a mess. Still not really working 100% as it should be. Looking forward to the day where I can use CSS without feeling like a dirty hacker - one can always hope...

Desperate attempts to try to fix the height issues we are having with divs overflowing the editing canvas.

What a mess. Still not really working 100% as it should be. Looking forward to the day where I can use CSS without feeling like a dirty hacker - one can always hope...

Two directives working here. One that sets the full-height of the canvas and one that allows divs to stretch right to the bottom of this canvas. This avoids unnecessary scrollbars.

The main scrollbar is now attached to the canvas. There should really be two independent ones: One for the sidepanel, one for the main body. No success with that so far. Don't get it.

The canvas scrollbar should usually be hidden on startup. The calculations for it seem to be slightly off sometimes, especially on a page reload in Chrome. It's totally random, most of the time the scrollbar will be there, at others times it won't. If one resizes the screen it's definetely gone. Fantastic patterns...