ocfweb
ocfweb copied to clipboard
Pages sometimes get cut off when JS is disabled
I don't remember what this is called but for longer docs the bottom part gets hidden by the ocfweb footer. This occurs on Chrome in OS X and Chromium on Linux. See example:
This isn't supposed to happen and doesn't happen for me. Can you provide more information about browser / OS / JS / etc? It doesn't happen to me on Chrome or Firefox on Linux.
https://www.ocf.berkeley.edu/docs/staff/procedures/vhost/
This happens if you disable JS for berkeley.edu. See for yourself.
yeah, Matt is right. Presumably we shouldn't need JS to use the docs, I'll see if I can find a way to fix it without requiring one to enable JS.
This affects every page, not just docs. If you find a fix, that'd be great.
yes, that's expected
patches still welcome, but it's almost impossible to implement a sticky footer correctly in a compatible way without JS. you can probably improve this case though.
Flexbox?
that was "compatible way" comment, though maybe we're okay with it not working on really old browsers -- it's just the footer, after all (plus, flexbox has okay support now -- 88% or 97% depending on if you're okay with yucky prefixes)
We can probably auto-generate all the prefixes too, there's some things that do that (like autoprefixer for instance), so that seems reasonable in support.