Make main-content the scroll container for sticky tabs
Add overflow-y: auto and height: 100vh/100dvh to .main-content so that position: sticky works on the tab bar container 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
transition: margin-left 0.3s ease;
|
transition: margin-left 0.3s ease;
|
||||||
|
overflow-y: auto;
|
||||||
|
height: 100vh;
|
||||||
|
height: 100dvh;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Adjust main content when sidebar is collapsed */
|
/* Adjust main content when sidebar is collapsed */
|
||||||
|
|||||||
Reference in New Issue
Block a user