Skip to content

Commit

Permalink
improv: contain chat image to a max height
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz-stefaniak committed Dec 24, 2024
1 parent 8ef4681 commit 57afa40
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 57afa40

Please sign in to comment.