app: more new designs (#28603)

This commit is contained in:
Brendan Allan
2026-05-21 14:42:13 +08:00
committed by GitHub
parent 6de584f25c
commit b2661c4a03
5 changed files with 46 additions and 48 deletions
+1 -9
View File
@@ -1703,15 +1703,8 @@ export default function Page() {
/>
)
const USE_NEW_LAYOUT = import.meta.env.VITE_OPENCODE_CHANNEL !== "prod"
return (
<div
class="relative bg-background-base size-full overflow-hidden flex flex-col"
classList={{
"p-2 pt-0 bg-v2-background-bg-deep": USE_NEW_LAYOUT,
}}
>
<div class="relative bg-background-base size-full overflow-hidden flex flex-col">
{sessionSync() ?? ""}
<SessionHeader />
<div class="flex-1 min-h-0 flex flex-col md:flex-row">
@@ -1746,7 +1739,6 @@ export default function Page() {
"@container relative shrink-0 flex flex-col min-h-0 h-full bg-background-stronger flex-1 md:flex-none": true,
"transition-[width] duration-[240ms] ease-[cubic-bezier(0.22,1,0.36,1)] will-change-[width] motion-reduce:transition-none":
!size.active() && !ui.reviewSnap,
"rounded-[10px] shadow-[var(--v2-elevation-raised)] overflow-hidden": USE_NEW_LAYOUT && !!params.id,
}}
style={{
width: sessionPanelWidth(),