Prettified Code!
This commit is contained in:
parent
674bdbe11b
commit
b60b4fccdf
4 changed files with 11 additions and 6 deletions
|
@ -82,7 +82,9 @@ body {
|
||||||
max-height: 0;
|
max-height: 0;
|
||||||
overflow-y: clip;
|
overflow-y: clip;
|
||||||
overflow-x: visible;
|
overflow-x: visible;
|
||||||
transition: max-height 0.2s ease-out, height 0s ease-out;
|
transition:
|
||||||
|
max-height 0.2s ease-out,
|
||||||
|
height 0s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-container {
|
.menu-container {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en-US">
|
<html lang="en-US">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
|
|
@ -62,9 +62,12 @@ const _monitorProgress = (bb, oncheck = null) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const timeSpent = performance.now() - init;
|
const timeSpent = performance.now() - init;
|
||||||
setTimeout(() => {
|
setTimeout(
|
||||||
|
() => {
|
||||||
if (running) _checkProgress();
|
if (running) _checkProgress();
|
||||||
}, Math.max(0, minDelay - timeSpent));
|
},
|
||||||
|
Math.max(0, minDelay - timeSpent)
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
_checkProgress();
|
_checkProgress();
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en-US">
|
<html lang="en-US">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
|
Loading…
Reference in a new issue