fix: make DetailPanel overlay instead of taking flex space
All checks were successful
Build & Publish / publish (push) Successful in 1m1s
All checks were successful
Build & Publish / publish (push) Successful in 1m1s
DetailPanel now uses position: fixed to overlay the content area rather than participating in the AppShell flex row. This prevents the TopBar from being compressed when the panel opens. Added box-shadow for depth separation and z-index: 100 for stacking. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
.panel {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 100vh;
|
||||
width: 0;
|
||||
overflow: hidden;
|
||||
transition: width 0.25s ease, opacity 0.2s ease;
|
||||
@@ -7,13 +11,15 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--bg-surface);
|
||||
flex-shrink: 0;
|
||||
z-index: 100;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.panel.open {
|
||||
width: 400px;
|
||||
opacity: 1;
|
||||
border-left-color: var(--border);
|
||||
box-shadow: var(--shadow-lg);
|
||||
animation: slideInRight 0.25s ease-out both;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main {
|
||||
|
||||
Reference in New Issue
Block a user