mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
🐛 Move to top gap between content and icon
This commit is contained in:
@@ -1403,8 +1403,8 @@ select {
|
||||
top: 5rem;
|
||||
}
|
||||
|
||||
.top-\[100vh\] {
|
||||
top: 100vh;
|
||||
.top-\[110vh\] {
|
||||
top: 110vh;
|
||||
}
|
||||
|
||||
.top-\[11px\] {
|
||||
|
||||
@@ -64,4 +64,12 @@ var updateMeta = () => {
|
||||
elem = document.querySelector('body');
|
||||
style = getComputedStyle(elem);
|
||||
document.querySelector('meta[name="theme-color"]').setAttribute('content', style.backgroundColor);
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener("DOMContentLoaded", (event) => {
|
||||
const scroller = document.getElementById("top-scroller");
|
||||
const footer = document.getElementById("site-footer");
|
||||
if(scroller.getBoundingClientRect().top > footer.getBoundingClientRect().top) {
|
||||
scroller.hidden = true;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user