We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb0a17 commit 6483c19Copy full SHA for 6483c19
src/ui/scss/main.scss
@@ -878,7 +878,7 @@ ul {
878
879
.section-group__content {
880
flex: auto 1 1;
881
- margin-bottom: 50%;
+ margin-bottom: 100%;
882
min-width: 0;
883
}
884
src/ui/shared/app-base.ts
@@ -171,11 +171,11 @@ export abstract class App<TBootstrap extends Bootstrap> {
171
height = header.clientHeight;
172
173
174
- el.scrollIntoView({
175
- block: 'start',
176
- behavior: 'auto'
+ const top = el.getBoundingClientRect().top - document.body.getBoundingClientRect().top - height;
+ window.scrollTo({
+ top: top,
177
+ behavior: 'smooth'
178
});
- window.scrollBy(0, -height);
179
180
e.stopPropagation();
181
e.preventDefault();
0 commit comments