Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion apps/web/src/components/ChatView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3494,7 +3494,7 @@ export default function ChatView(props: ChatViewProps) {
className={
isDraftHeroState
? "pointer-events-none absolute inset-0 z-20 flex items-center [@media(max-height:34rem)]:items-end"
: "pointer-events-none absolute inset-x-0 bottom-0 z-20 pt-1.5 sm:pt-2"
: "pointer-events-none absolute inset-x-0 bottom-0 z-20 composer-overlay-fade pt-1.5 sm:pt-2"
}
>
<div ref={draftHeroTransitionGroupRef} className="chat-composer-lane w-full">
Expand Down
6 changes: 6 additions & 0 deletions apps/web/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,12 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
var(--app-scrollbar-width) 100%;
}

/* The composer overlay spans the timeline, so stop short of its scrollbar lane. */
@utility composer-overlay-fade {
background: linear-gradient(to bottom, transparent, var(--background) 50%) left /
calc(100% - var(--app-scrollbar-width)) 100% no-repeat;
}

/* Stage-channel art needs a mask and pseudo-element gradient, so keep the
behavior composable without tying it to the global components layer. */
@utility sidebar-stage-backdrop {
Expand Down
Loading