style updates

This commit is contained in:
Test 2024-11-20 18:04:03 -08:00
parent b4d364f761
commit 59e6cee114
4 changed files with 5 additions and 4 deletions

View file

@ -64,9 +64,9 @@ export default function WorkingSet() {
</span>
</div>
<div className="scrollbar-hide max-h-[25vh] overflow-y-auto">
<div className="scrollbar-hide max-h-[50vh] overflow-y-auto">
{hasCodeToEdit ? (
<ul className="my-1.5 list-outside list-none space-y-1.5 pl-0">
<ul className="mb-1.5 mt-0 list-outside list-none space-y-1.5 pl-0">
{codeToEditItems}
</ul>
) : (

View file

@ -100,7 +100,7 @@ export default function CodeToEditListItem({
</div>
</div>
{showCodeSnippet && (
<div className="max-h-[15vh] overflow-y-auto px-1 py-2">
<div className="max-h-[25vh] overflow-y-auto px-1 py-2">
<NoPaddingWrapper>
<StyledMarkdownPreview source={source} />
</NoPaddingWrapper>

View file

@ -179,7 +179,7 @@ export default function Edit() {
<TipTapEditor
isMainInput
toolbarOptions={toolbarOptions}
placeholder="Describe how to modify the code - use '#' to add files to 'Code to edit'"
placeholder="Describe how to modify the code - use '#' to add files"
availableContextProviders={filteredContextProviders}
historyKey="edit"
availableSlashCommands={[]}

View file

@ -21,6 +21,7 @@ import { v4 as uuidv4, v4 } from "uuid";
type ChatHistoryItemWithMessageId = ChatHistoryItem & {
message: ChatMessage & { id: string };
};
type State = {
history: ChatHistoryItemWithMessageId[];
symbols: FileSymbolMap;