Fix so message isn't blocked to 20rem
This commit is contained in:
parent
9792457ced
commit
4d12de24a6
@ -284,7 +284,7 @@ const Message = (props: MessageProps) => {
|
|||||||
sx={{
|
sx={{
|
||||||
p: 0,
|
p: 0,
|
||||||
m: 0,
|
m: 0,
|
||||||
maxHeight: (message.role === "streaming") ? "20rem" : "unset",
|
// maxHeight: (message.role === "streaming") ? "20rem" : "unset",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
overflow: "auto", /* Handles scrolling for the div */
|
overflow: "auto", /* Handles scrolling for the div */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user