learn-ocaml icon indicating copy to clipboard operation
learn-ocaml copied to clipboard

Controlling pane layout in the browser

Open fpottier opened this issue 6 years ago • 3 comments

firefox safari

When I initially began playing with learn-ocaml in my browser, my browser window was split in two parts, with the code editing pane on the left and the exercise statement on the right. (See second screenshot above, Safari.)

However, at some point and for no apparent reason, it has switched to a different organization, where I can see only one pane at a time, which occupies all of the screen. (See first screenshot above, Firefox.)

At the moment I have one layout in Firefox and a different layout in Safari (so the issue does not lie with the server), and no way to choose, it seems.

Is there a way for the user to control this layout?

fpottier avatar Dec 18 '18 21:12 fpottier

The layout is determined automatically depending on the window width; maybe Firefox and Safari report slightly different widths in your case ? It also seems that your Firefox has a zoom factor of 110%, which is probably the reason the right pane disappeared.

AltGr avatar Jan 22 '19 13:01 AltGr

Indeed, I may have asked for a larger font.

fpottier avatar Jan 22 '19 16:01 fpottier

If it helps for triage, I just want to add that being able to drag the side of the editor to change its size (or some other way of adjusting the widths of the panes) was the most common student request from using Learn-OCaml this term.

adhameer avatar Jan 22 '19 17:01 adhameer