Fix stack cover: single sticky folder unit, hide inactive bodies.

Tested all four variants in browser — only active layer body visible while
tabs stay staggered; scroll covers previous layers correctly.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-20 23:11:57 -04:00
co-authored by Cursor
parent bb8469ca10
commit cfe1cf3922
14 changed files with 499 additions and 160 deletions
+15
View File
@@ -18,3 +18,18 @@
height: 2rem;
margin-bottom: 3rem;
}
/* Only the active layer shows its body; tabs always visible */
.scroll-section:not(.is-active) .body,
.scroll-section:not(.is-active) .layer-inner,
.scroll-section:not(.is-active) .frame-body,
.scroll-section:not(.is-active) .unit-body {
visibility: hidden;
height: 0;
min-height: 0;
margin-top: 0 !important;
padding: 0;
border: none;
overflow: hidden;
box-shadow: none;
}