We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a4c8b3 commit 0dd25faCopy full SHA for 0dd25fa
1 file changed
Auditor/HTMLCSAuditor.js
@@ -197,6 +197,14 @@ _global.HTMLCSAuditor = new function()
197
};
198
199
_doc.onmouseup = function(e) {
200
+ var maxHeight = window.innerHeight - 30;
201
+
202
+ if (mouseX > maxHeight) {
203
+ wrapper.style.top = maxHeight + 'px';
204
+ } else if (mouseX < 0) {
205
+ wrapper.style.top = 0 + 'px';
206
+ }
207
208
dragging = false;
209
210
0 commit comments