This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/* --- 1. The Flyout Side Panel --- */
|
||||
.nav-shelf-panel {
|
||||
position: fixed;
|
||||
top: var(--header-height); /* Drops clean below your top-bar */
|
||||
right: -300px; /* Hidden by default */
|
||||
top: var(--header-height);
|
||||
right: -300px;
|
||||
width: 300px;
|
||||
height: calc(100vh - var(--header-height));
|
||||
background-color: var(--shelf-bg);
|
||||
@@ -10,7 +10,8 @@
|
||||
z-index: 2000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 2rem 1.5rem;
|
||||
/* MODIFIED: Reduce padding-bottom so items don't clip raw against the bottom line window frame */
|
||||
padding: 2rem 1.5rem 1rem 1.5rem;
|
||||
box-sizing: border-box;
|
||||
transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
|
||||
@@ -68,6 +69,7 @@
|
||||
margin-bottom: 2rem;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid rgba(144, 224, 239, 0.1);
|
||||
flex-shrink: 0; /* CRITICAL: Prevents the header text from squishing up on small screens */
|
||||
}
|
||||
|
||||
.shelf-header h3 {
|
||||
@@ -92,6 +94,14 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
/* NEW RULES: Absorb all available viewport height and isolate scrolling bounds */
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
/* Optional: Adds smooth mobile elastic touch responses on iOS devices */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
/* Clean up spacing so bottom-most links have breathing room when fully scrolled down */
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
/* Deep selection matching Blazor's active class matching system */
|
||||
|
||||
Reference in New Issue
Block a user