mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 02:36:02 +10:00
added tape
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user