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