Skip to content

Commit c5d4d2d

Browse files
authored
fix(web): keep chat banners inside the lane beside the docked details card (pingdotgg#17094)
Co-authored-by: macodev00 <[email protected]>
1 parent 2cf0ff0 commit c5d4d2d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/web/src/components/ChatView.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11353,7 +11353,7 @@ export default function ChatView(props: ChatViewProps) {
1135311353
</div>
1135411354
) : null}
1135511355
{/* Banners overlay the timeline without changing its content height. */}
11356-
<div className="pointer-events-none absolute inset-x-0 top-0 z-20 flex flex-col">
11356+
<div className="chat-banner-lane pointer-events-none absolute top-0 z-20 flex flex-col">
1135711357
<ProviderStatusBanner
1135811358
status={visibleProviderStatus}
1135911359
onDismiss={() => setDismissedProviderStatusBannerKey(providerStatusBannerKey)}

‎apps/web/src/index.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2337,7 +2337,8 @@ code {
23372337
0.75rem + var(--chat-lane-inset-end, 0px) - var(--chat-timeline-gutter, 0px)
23382338
);
23392339
}
2340-
.chat-scroll-to-bottom {
2340+
.chat-scroll-to-bottom,
2341+
.chat-banner-lane {
23412342
inset-inline-start: var(--chat-lane-inset-start, 0px);
23422343
inset-inline-end: var(--chat-lane-inset-end, 0px);
23432344
}

0 commit comments

Comments
 (0)