File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1047,9 +1047,8 @@ def build_app() -> gr.Blocks:
10471047 js = """
10481048 () => {
10491049 setTimeout(() => {
1050- const card = document.querySelector('.soul-card-image');
1051- const target = card || document.querySelector('.tome-summon-stage .entity-card');
1052- if (target) target.scrollIntoView({ behavior: 'smooth', block: 'center' });
1050+ const stage = document.querySelector('.tome-summon-stage');
1051+ if (stage) stage.scrollTo({ top: 0, behavior: 'smooth' });
10531052 }, 350);
10541053 }
10551054 """ ,
@@ -1073,9 +1072,8 @@ def build_app() -> gr.Blocks:
10731072 js = """
10741073 () => {
10751074 setTimeout(() => {
1076- const card = document.querySelector('.soul-card-image');
1077- const target = card || document.querySelector('.tome-summon-stage .entity-card');
1078- if (target) target.scrollIntoView({ behavior: 'smooth', block: 'center' });
1075+ const stage = document.querySelector('.tome-summon-stage');
1076+ if (stage) stage.scrollTo({ top: 0, behavior: 'smooth' });
10791077 }, 350);
10801078 }
10811079 """ ,
Original file line number Diff line number Diff line change @@ -6052,6 +6052,16 @@ body.aether-realm-entered #realm-opening-host {
60526052.tome-summon-stage {
60536053 overflow-y : auto !important ;
60546054 align-items : stretch !important ;
6055+ -webkit-overflow-scrolling : touch;
6056+ overscroll-behavior : contain;
6057+ scroll-padding-top : 0.75rem ;
6058+ }
6059+
6060+ .tome-spread-row > .column .tome-page-right .tome-printed-page .tome-summon-stage ,
6061+ .tome-spread-row > .gr-column .tome-page-right .tome-printed-page .tome-summon-stage {
6062+ overflow-x : hidden !important ;
6063+ overflow-y : auto !important ;
6064+ -webkit-overflow-scrolling : touch;
60556065}
60566066
60576067.tome-summon-stage > .block : has (.entity-result-slot ),
You can’t perform that action at this time.
0 commit comments