@@ -6012,8 +6012,9 @@ function ChatViewContent(props: ChatViewProps) {
60126012 // One inset in both states: the controls move between containers when
60136013 // the right panel opens, and a different right offset made them jump
60146014 // sideways on every toggle.
6015- "workspace-titlebar- controls z-50 mr-px gap-1 [-webkit-app-region:no-drag]" ,
6015+ "absolute top-[var(-- workspace-controls-top)] right-[var(--workspace- controls-right)] z-50 mr-px flex h-[var(--workspace-topbar-height)] items-center gap-1 [-webkit-app-region:no-drag]" ,
60166016 ) }
6017+ data-workspace-titlebar-controls
60176018 >
60186019 { rightPanelOpen && ! shouldUseRightPanelSheet ? (
60196020 < RightPanelMaximizeControl
@@ -6154,12 +6155,12 @@ function ChatViewContent(props: ChatViewProps) {
61546155 "bg-background transition-[padding-left] duration-200 ease-linear motion-reduce:transition-none" ,
61556156 isElectron
61566157 ? cn (
6157- "workspace-topbar drag-region relative px-3 sm:px-5" ,
6158+ "drag-region relative flex h-[var(-- workspace-topbar-height)] min-h-[var(--workspace-topbar-height)] shrink-0 items-center px-3 sm:px-5" ,
61586159 reserveTitleBarControlInset &&
61596160 ! inlineRightPanelOwnsTitleBar &&
61606161 "wco:pr-[var(--workspace-native-controls-inset)]" ,
61616162 )
6162- : "workspace-topbar pl-[calc(env(safe-area-inset-left)+0.75rem)] pr-[calc(env(safe-area-inset-right)+0.75rem)] sm:pl-[calc(env(safe-area-inset-left)+1.25rem)] sm:pr-[calc(env(safe-area-inset-right)+1.25rem)]" ,
6163+ : "flex h-[var(-- workspace-topbar-height)] min-h-[var(--workspace-topbar-height)] shrink-0 items-center pl-[calc(env(safe-area-inset-left)+0.75rem)] pr-[calc(env(safe-area-inset-right)+0.75rem)] sm:pl-[calc(env(safe-area-inset-left)+1.25rem)] sm:pr-[calc(env(safe-area-inset-right)+1.25rem)]" ,
61636164 COLLAPSED_SIDEBAR_TITLEBAR_INSET_CLASS ,
61646165 ) }
61656166 >
@@ -6267,7 +6268,7 @@ function ChatViewContent(props: ChatViewProps) {
62676268 aria-label = "Scroll to end"
62686269 title = "Scroll to end"
62696270 onClick = { ( ) => scrollToEnd ( true ) }
6270- className = "chat-composer- glass pointer-events-auto flex items-center gap-1.5 rounded-full border border-border/60 px-3 py-1 text-muted-foreground text-xs shadow-sm transition-colors hover:border-border hover:text-foreground hover:cursor-pointer "
6271+ className = "surface- glass pointer-events-auto flex cursor-pointer items-center gap-1.5 rounded-full border border-border/60 px-3 py-1 text-muted-foreground text-xs shadow-sm transition-colors hover:border-border hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background "
62716272 >
62726273 < ChevronDownIcon className = "size-3.5" />
62736274 Scroll to end
@@ -6288,7 +6289,7 @@ function ChatViewContent(props: ChatViewProps) {
62886289 >
62896290 < div
62906291 ref = { attachDraftHeroTransitionGroupRef }
6291- className = "chat-composer-horizontal- inset w-full "
6292+ className = "w-full ps-[calc(env(safe-area- inset-left)+0.75rem)] pe-[calc(env(safe-area-inset-right)+0.75rem)] sm:ps-[calc(env(safe-area-inset-left)+1.25rem)] sm:pe-[calc(env(safe-area-inset-right)+1.25rem)] "
62926293 >
62936294 < div className = "pointer-events-auto relative z-10" >
62946295 { isDraftHeroState ? (
0 commit comments