Add footer
This commit is contained in:
@@ -389,3 +389,10 @@ hr {
|
||||
height: 0;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 50px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -13,6 +13,10 @@ function isOffScreen(el) {
|
||||
);
|
||||
}
|
||||
|
||||
function scrollToBottom() {
|
||||
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' });
|
||||
}
|
||||
|
||||
function isHttpWarningStatus(code) {
|
||||
const warningStatuses = [429, 400, 413];
|
||||
return warningStatuses.includes(code);
|
||||
|
||||
Reference in New Issue
Block a user