mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: fix a small display issue
This commit is contained in:
1 parent
f6db7fbd4d
commit
23e4b1ccad
2 files changed
+3
-1
No files matched your search
@@ -49,6 +49,7 @@ class ProblemPageExtender {
|
||||
$('.main > .row').hide();
|
||||
$('.footer').hide();
|
||||
$(window).scrollTop(0);
|
||||
window.document.body.style.overflow = 'hidden';
|
||||
|
||||
this.inProgress = false;
|
||||
this.isExtended = true;
|
||||
@@ -83,6 +84,7 @@ class ProblemPageExtender {
|
||||
|
||||
this.$scratchpadContainer.hide();
|
||||
this.$content.transition({ opacity: 1 }, { duration: 100 });
|
||||
window.document.body.style.overflow = 'scroll';
|
||||
|
||||
this.inProgress = false;
|
||||
this.isExtended = false;
|
||||
|
||||
Reference in new issue
Block a user