Skip to content

Commit 62776b4

Browse files
committed
Merge branch 'main' into release/v0.0.87
2 parents e3d8d6c + 41d1c62 commit 62776b4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Folder/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ export default function Folder({ data: _data }: { data?: Agent }) {
700700

701701
{/* content */}
702702
<div
703-
className={`min-h-0 flex-1 ${selectedFile?.type === 'html' && !isShowSourceCode ? 'overflow-hidden' : 'scrollbar overflow-y-auto'}`}
703+
className={`flex min-h-0 flex-1 flex-col ${selectedFile?.type === 'html' && !isShowSourceCode ? 'overflow-hidden' : 'scrollbar overflow-y-auto'}`}
704704
>
705705
<div
706706
className={`flex min-h-full flex-col ${selectedFile?.type === 'html' && !isShowSourceCode ? '' : 'p-6'} file-viewer-content`}

src/style/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ code {
542542

543543
/* Scoped file viewer: prevent file content CSS from affecting sidebar and app layout */
544544
.file-viewer-content {
545-
contain: layout style;
545+
contain: style;
546546
isolation: isolate;
547547
}
548548

0 commit comments

Comments
 (0)