[jdf-dev] Migration: when and what
Jonathan Fuerth
jfuerth at redhat.com
Fri Jul 6 09:41:03 EDT 2012
From: "Jason Porter" <jporter at redhat.com>
Sent: Thursday, July 5, 2012 10:55:28 AM
> Pull requests welcome :)
Next time!
I'm interested in awestruct, and hope to try it out for creating an improved Errai site some day. But frankly, it uses a stack that I don't know a whole bunch about. It's above my "just do it on a whim" threshold, and I haven't yet set aside the time to dive in. And I don't want to send a pull request for untested changes. :)
>> - When the "get the source" button in the right-hand nav bar reaches
>> the top of the viewport, the text in the section list below it (the
>> div#toc element) reflows outside the bounds of its container. This
>> is due to the shift from display:static to display: fixed. A quick
>> fix is to set a width on that div, eg: <div id="toc"
>> style="position: static; top: 0px; width: 215px; ">
> I think it's a bit more complicated than that. The javascript rewrites the style rules I think. I haven't had time to delve into it fully.
It is that simple. I adjusted the element style in my browser, and it stayed in place. I called it a "quick fix" because it still looks wrong if you scroll the page horizontally (since its position is fixed wrt the viewport, what looks like its container just slides out from underneath it).
-Jonathan
More information about the jdf-dev
mailing list