-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No horizontal scrollbar in overflowing assignment #44
Comments
I've deactivated overflow:hidden in the staging site (codecheck.me) and this seems to work now. I am a bit concerned that now scrollbars will appear when they are unwanted, but it seems the doc height messages actually take care of that in this example. |
It seems to be working now both in codecheck.me as well as codecheck.io. However, I noticed that on Brave (a Chrome-based browser), two vertical scrollbars appear. This is a minor problem, but I managed to eliminate the inner scrollbar by setting |
I see...Chrome shows scroll bars to put an n-pixel high doc into an n-pixel high iframe. That's probably why the overflow was hidden in the first place. I now add 16 pixels for Chrome-based browsers. |
I see that the doc height is 599px, and the iframe has a height of 618px. Can you edit the iframe style by hand and see if a greater height will make the scroll bars go away? If so, at what threshold? |
OK, I tried increasing the I checked that the embedded document's |
Weird... I'll just set the fudge amount to 32. |
When viewing the large output of a CodeCheck problem like this one, scrollbars (vertical and horizontal) appear.
(Edit URL)
However, if this exercise is part of an assignment, then only the vertical scrollbar is visible.
(Private URL)
I tracked this to the
overflow: hidden
style of the<body>
element of the CodeCheck problem document embedded in the assignment's<iframe>
element.(I wrongly reported this in the ltihub project, more than 2 years ago.)
The text was updated successfully, but these errors were encountered: