BUGFIX: remove unnecessary scrolling
This commit is contained in:
parent
06c9af12d1
commit
0ae17fd1d9
@ -10,9 +10,9 @@ document.addEventListener("readystatechange", event => {
|
||||
|
||||
function initOverflow() {
|
||||
let body = document.querySelector('body');
|
||||
if (body.scrollHeight > window.outerHeight) {
|
||||
body.style.height = 'auto';
|
||||
}
|
||||
let nineties = document.querySelector('.nineties-toggle');
|
||||
let container = document.querySelector('.container');
|
||||
container.style.height = (body.scrollHeight > window.outerHeight) ? 'auto' : body.scrollHeight - nineties.scrollHeight + 'px';
|
||||
}
|
||||
|
||||
function initNinetiesToggle() {
|
||||
|
@ -3,10 +3,15 @@
|
||||
@import "~bootstrap/scss/utilities";
|
||||
|
||||
$utilities: map-merge(
|
||||
$utilities, (
|
||||
"width": map-merge(
|
||||
map-get($utilities, "width"),
|
||||
( responsive: true ),
|
||||
),
|
||||
$utilities,
|
||||
(
|
||||
"width":
|
||||
map-merge(
|
||||
map-get($utilities, "width"),
|
||||
(
|
||||
responsive: true
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
);
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule . index.php [L]
|
Loading…
Reference in New Issue
Block a user