mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +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
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.26.18",
|
"version": "4.26.19",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ class ProblemPageExtender {
|
|||||||
$('.main > .row').hide();
|
$('.main > .row').hide();
|
||||||
$('.footer').hide();
|
$('.footer').hide();
|
||||||
$(window).scrollTop(0);
|
$(window).scrollTop(0);
|
||||||
|
window.document.body.style.overflow = 'hidden';
|
||||||
|
|
||||||
this.inProgress = false;
|
this.inProgress = false;
|
||||||
this.isExtended = true;
|
this.isExtended = true;
|
||||||
@@ -83,6 +84,7 @@ class ProblemPageExtender {
|
|||||||
|
|
||||||
this.$scratchpadContainer.hide();
|
this.$scratchpadContainer.hide();
|
||||||
this.$content.transition({ opacity: 1 }, { duration: 100 });
|
this.$content.transition({ opacity: 1 }, { duration: 100 });
|
||||||
|
window.document.body.style.overflow = 'scroll';
|
||||||
|
|
||||||
this.inProgress = false;
|
this.inProgress = false;
|
||||||
this.isExtended = false;
|
this.isExtended = false;
|
||||||
|
|||||||
Reference in new issue
Block a user