Skip to content
Open
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 gui/src/components/StepContainer/StepContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function StepContainer(props: StepContainerProps) {
return (
<div>
<div
className={`bg-background p-1 px-1.5 ${isBeforeLatestSummary ? "opacity-35" : ""}`}
className={`bg-background min-w-0 p-1 px-1.5 ${isBeforeLatestSummary ? "opacity-35" : ""}`}
>
{uiConfig?.displayRawMarkdown ? (
<pre className="text-2xs max-w-full overflow-x-auto whitespace-pre-wrap break-words p-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const StyledPre = styled.pre<{ theme: any }>`
margin-top: 0;
margin-bottom: 0;
border-radius: 0 0 ${defaultBorderRadius} ${defaultBorderRadius} !important;
max-width: 100%;
max-height: 40vh;
overflow-y: scroll !important;

Expand Down
4 changes: 2 additions & 2 deletions gui/src/components/StyledMarkdownPreview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const StyledMarkdown = styled.div<{
background-color: ${vscEditorBackground};
border-radius: ${defaultBorderRadius};

max-width: calc(100vw - 24px);
overflow-x: scroll;
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;

padding: 8px;
Expand Down
2 changes: 1 addition & 1 deletion gui/src/pages/gui/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export function Chat() {

<StepsDiv
ref={stepsDivRef}
className={`pt-[8px] ${showScrollbar ? "thin-scrollbar" : "no-scrollbar"} ${history.length > 0 ? "min-h-0 flex-1 overflow-y-scroll" : "shrink-0"}`}
className={`pt-[8px] ${showScrollbar ? "thin-scrollbar" : "no-scrollbar"} ${history.length > 0 ? "min-h-0 min-w-0 flex-1 overflow-y-scroll" : "shrink-0"}`}
>
<DeprecationBanner dismissable={true} />
{highlights}
Expand Down
Loading