Unwanted Scrollbar in HTML
Recently in the HTML projects, there has been a scrollbar added to all HTML projects although a scroll bar is not needed. The culprit is here. Lines 545 to 547 are below.
body {
overflow-y: scroll;
}
/* this is wrong for two reasons.
a.) it should have just been added to the body tag selector underneath, which is a silly dev mistake.
b.) it should be set to the below (or better yet, not set at all) to allow HTML projects to be viewed as they have been. */
body {
overflow-y: auto;
}
The styling is added to the iframe element that contains the display of the HTML project. This is quite a nuisance, specifically for games made using the canvas element in HTML. If this could be fixed ASAP, it would be appreciated, :).
Please sign in to leave a comment.