Merge pull request #6684 from continuedev/tomasz/fix-sticky

Tomasz/fix sticky
This commit is contained in:
Tomasz Stefaniak 2025-07-17 15:49:33 -07:00 • committed by GitHub
commit 6eaf4ed530
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ export default function StepContainer(props: StepContainerProps) {
return (
<div>
<div className="bg-background overflow-hidden p-1 px-1.5">
<div className="bg-background p-1 px-1.5">
{uiConfig?.displayRawMarkdown ? (
<pre className="text-2xs max-w-full overflow-x-auto whitespace-pre-wrap break-words p-4">
{renderChatMessage(props.item.message)}

View file

@ -265,7 +265,7 @@ export function StepContainerPreToolbar({
return (
<div className="outline-command-border -outline-offset-0.5 rounded-default bg-editor mb-2 mt-2 flex min-w-0 flex-col outline outline-1">
<div
className={`find-widget-skip bg-editor sticky -top-2 z-10 m-0 flex items-center justify-between gap-3 px-1.5 py-1 ${isExpanded ? "border-command-border border-b" : ""}`}
className={`find-widget-skip bg-editor sticky -top-2 z-10 m-0 flex items-center justify-between gap-3 px-1.5 py-1 ${isExpanded ? "rounded-t-default border-command-border border-b" : "rounded-default"}`}
style={{ fontSize: `${getFontSize() - 2}px` }}
>
<div className="flex max-w-[50%] flex-row items-center">