Fix folder stack overlap: pull slots, split tab/body sticky.
Sections overlap via negative margin; tabs stay in staggered rail; active body z-index covers layers below as you scroll. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
/* Sticky stack slots — import after stack-vars.css */
|
||||
/* Pull layers into one stack so sticky overlap works */
|
||||
.scroll-section {
|
||||
height: var(--stack-slot);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.scroll-section + .scroll-section {
|
||||
margin-top: calc(-1 * var(--stack-pull));
|
||||
}
|
||||
|
||||
.scroll-section--final {
|
||||
height: var(--stack-slot-last);
|
||||
min-height: 280px;
|
||||
min-height: 260px;
|
||||
}
|
||||
|
||||
.stack-stop,
|
||||
|
||||
Reference in New Issue
Block a user