Skip to content

Commit 7ed2c53

Browse files
committed
Fixed issue with window resizing on large resolutions.
1 parent 11c78d1 commit 7ed2c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chrome/content/fetch-source.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ httpsEverywhere.fetchSource = {
152152
window.onresize = function() {
153153
var textBox = document.getElementById("source-text");
154154
// TODO: Move to constants
155-
textBox.width = window.innerWidth - 50;
156-
textBox.height = window.innerHeight - 100;
155+
textBox.width = window.innerWidth - 100;
156+
textBox.height = window.innerHeight - 150;
157157
}
158158

159159
// hook event for init

0 commit comments

Comments
 (0)