Skip to content

Commit

Permalink
Enforce overflow:hidden.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Plotkin authored and Andrew Plotkin committed Nov 22, 2024
1 parent 3e5a914 commit 5f77f77
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions media/glkote.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
* with it.
*/

#gameport {
/* The host page is supposed to define the gameport's layout, but
this property is needed to prevent possible overflow scrollbars.
We'll enforce it here. */
overflow: hidden;
}

#windowport {
width: 100%;
height: 100%;
Expand Down
10 changes: 5 additions & 5 deletions media/i7-glkote.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
* with it.
*/

#windowport {
width: 100%;
height: 100%;
}

#gameport {
/* The host page is supposed to define the gameport's layout, but
this property is needed to prevent possible overflow scrollbars.
We'll enforce it here. */
overflow: hidden;
}

#windowport {
width: 100%;
height: 100%;
}

#errorpane {
position: absolute;
top: 0px;
Expand Down

0 comments on commit 5f77f77

Please sign in to comment.