Prettified Code!

This commit is contained in:
zero01101 2023-08-12 18:43:44 +00:00 committed by GitHub Action
parent 674bdbe11b
commit b60b4fccdf
4 changed files with 11 additions and 6 deletions

View file

@ -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 {

View file

@ -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" />

View file

@ -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();

View file

@ -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" />