Skip to content

Commit

Permalink
Merge pull request #3526 from continuedev/tomasz/aspect-ratio
Browse files Browse the repository at this point in the history
improv: contain chat image to a max height
  • Loading branch information
tomasz-stefaniak authored Dec 24, 2024
2 parents 8ef4681 + 57afa40 commit f95a186
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gui/src/components/mainInput/TipTapEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ function TipTapEditor(props: TipTapEditorProps) {
});
return [plugin];
},
}).configure({
HTMLAttributes: {
class: "editor-image bg-black object-contain max-h-[250px] w-full",
},
}),
Placeholder.configure({
placeholder: getPlaceholderText(
Expand Down

0 comments on commit f95a186

Please sign in to comment.