Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/web/src/components/chat/ChatHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,10 @@ export const ChatHeader = memo(function ChatHeader({
className={cn(
"flex shrink-0 items-center justify-end gap-2 @3xl/header-actions:gap-3",
// Reserve two panel toggles plus their 4px gaps and 1px edge inset.
// The page header adds 8px more right padding at sm.
rightPanelOpen ? "pr-0" : "pr-18.25 sm:pr-14.25",
// The page header adds 8px more right padding at sm, except under a
// window controls overlay, where it pads exactly to the toggles'
// anchor, so those 8px come back here.
rightPanelOpen ? "pr-0" : "pr-18.25 sm:pr-14.25 wco:sm:pr-16.25",
"[[data-panel-animations=true]_&]:motion-safe:transition-[padding-right] [[data-panel-animations=true]_&]:motion-safe:duration-(--panel-animation-duration) [[data-panel-animations=true]_&]:motion-safe:ease-out",
)}
>
Expand Down
Loading