diff --git a/src/design-system/composites/DetailPanel/DetailPanel.module.css b/src/design-system/composites/DetailPanel/DetailPanel.module.css index ef08847..96480b1 100644 --- a/src/design-system/composites/DetailPanel/DetailPanel.module.css +++ b/src/design-system/composites/DetailPanel/DetailPanel.module.css @@ -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; } diff --git a/src/design-system/layout/AppShell/AppShell.module.css b/src/design-system/layout/AppShell/AppShell.module.css index 866a9cd..f680869 100644 --- a/src/design-system/layout/AppShell/AppShell.module.css +++ b/src/design-system/layout/AppShell/AppShell.module.css @@ -2,6 +2,7 @@ display: flex; height: 100vh; overflow: hidden; + position: relative; } .main {