added tape

This commit is contained in:
2025-06-06 19:49:18 +10:00
parent 45a77a59d3
commit 9b0519c89a
10 changed files with 583 additions and 15 deletions

View File

@@ -13,6 +13,11 @@
if (posts.length === 0 || columns.length === 0) return;
// Assign z-index based on post order (newer posts first)
posts.forEach((post, index) => {
post.style.zIndex = 100 - index;
});
// Store original positions of posts
posts.forEach((post, index) => {
const rect = post.getBoundingClientRect();