guides icon indicating copy to clipboard operation
guides copied to clipboard

too long menu

Open noniwoo opened this issue 10 years ago • 10 comments

Menu on the left at http://clojure-doc.org/articles/tutorials/introduction.html#control-structures is too long to fit on my screen, and because it scrolls down with the page, I cannot see lower-positioned menu items.

noniwoo avatar Sep 05 '14 21:09 noniwoo

@noniwoo what device and screen resolution? Can you post a screenshot?

michaelklishin avatar Sep 05 '14 21:09 michaelklishin

Device? My laptop's internal display Resolution: 1366x768

screenshot

noniwoo avatar Sep 05 '14 21:09 noniwoo

FWIW, you can repro on pretty much any screen by making the default font size bigger in your browser (cmd-+ on Mac for example). I remember noticing this once and being in a hurry so I didn't create an issue - and then I couldn't find it again to repro! My CSS-fu isn't good enough to even attempt a fix for this I'm afraid :(

seancorfield avatar Sep 05 '14 22:09 seancorfield

@ifesdjeen can you lend us a hand with this, please?

michaelklishin avatar Sep 06 '14 05:09 michaelklishin

hmmmmm i'm not sure what we can actually do here :( that's bootstrap defaults........ lemme think

ifesdjeen avatar Sep 06 '14 15:09 ifesdjeen

to be absolutely fair, i cant even see them on retina display O__O

ifesdjeen avatar Sep 06 '14 15:09 ifesdjeen

Ok, problem is: if we decide to make the menu fixed (it will be always attached to the top of the screen), we're losing an ability to always track the content. If we add the ability to track the content, we're losing an ability to scroll, since scroll is bound to the complete window.

We can opt-out for just a top-level always expanded menu, but I find navigation on that particular page bad and uninformative. Should we just split the page to two pages? Or think of regrouping the content?

Or if you have particular suggestions on how to fix that problem (e.g. what will scroll when, wether the content will be still tracked or no), please do say.

ifesdjeen avatar Sep 06 '14 15:09 ifesdjeen

I think re-working the navigation on that page may be the way to go. Although no objections to having a fixed navigation either.

michaelklishin avatar Sep 06 '14 18:09 michaelklishin

I don't mind fixing navigation, I just don't know how it should work I mean - what behaviour to expect

ifesdjeen avatar Sep 07 '14 16:09 ifesdjeen

I'm am resurrecting this site at https://clojure-doc.github.io so feel free to recreate this issue at https://github.com/clojure-doc/clojure-doc.github.io/issues or submit a PR https://github.com/clojure-doc/clojure-doc.github.io/pulls (the styling/formatting on that new version is just the basic Cryogen blue theme right now so this specific issue doesn't exist but lots of other cosmetic issues do!).

seancorfield avatar Nov 14 '21 21:11 seancorfield