mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-11 22:51:26 +00:00
Merge ba7aa826c4 into b867ec9145
This commit is contained in:
commit
df973612ea
1 changed files with 9 additions and 3 deletions
|
|
@ -170,10 +170,16 @@ const App = () => {
|
|||
|
||||
// Do not conditionally load ChatView, it's expensive and there's state we
|
||||
// don't want to lose (user input, disableInput, askResponse promise, etc.)
|
||||
|
||||
// Container for max-width constraint on large screens (editor/tab mode only)
|
||||
const containerClassName = renderContext === "editor" ? "h-full w-full mx-auto max-w-[896px]" : "h-full w-full"
|
||||
|
||||
return showWelcome ? (
|
||||
<WelcomeView />
|
||||
<div className={containerClassName}>
|
||||
<WelcomeView />
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
<div className={containerClassName}>
|
||||
{tab === "history" && <HistoryView onDone={() => switchTab("chat")} />}
|
||||
{tab === "settings" && (
|
||||
<SettingsView ref={settingsRef} onDone={() => setTab("chat")} targetSection={currentSection} />
|
||||
|
|
@ -243,7 +249,7 @@ const App = () => {
|
|||
}}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue