1
|
/**
|
2
|
* SPDX-License-Identifier: CC0-1.0
|
3
|
*
|
4
|
* Make Jira pages on bugs.mojang.com scrollable without nonfree js.
|
5
|
*
|
6
|
* Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
|
7
|
*
|
8
|
* This program is free software: you can redistribute it and/or modify
|
9
|
* it under the terms of the CC0 1.0 Universal License as published by
|
10
|
* the Creative Commons Corporation.
|
11
|
*
|
12
|
* This program is distributed in the hope that it will be useful,
|
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
* CC0 1.0 Universal License for more details.
|
16
|
*/
|
17
|
|
18
|
/* Use with: https://bugs.mojang.com/browse/* */
|
19
|
|
20
|
/* Make the view scrollable. */
|
21
|
|
22
|
Object.assign(document.body.style, {
|
23
|
width: "100vw",
|
24
|
height: "100vh",
|
25
|
overflow: "scroll"
|
26
|
});
|