@@ -53,7 +53,7 @@ export const PlaygroundMessage = (props: Props) => {
53
53
const { cancel, isSpeaking, speak } = useTTS ( )
54
54
return (
55
55
< div className = "group w-full text-gray-800 dark:text-gray-100" >
56
- < div className = "text-base md:max-w-2xl lg:max-w-xl xl:max-w-3xl flex lg:px-0 m-auto w-full" >
56
+ < div className = "text-base md:max-w-2xl lg:max-w-xl xl:max-w-3xl flex lg:px-0 m-auto w-full" >
57
57
< div className = "flex flex-row gap-4 md:gap-6 p-4 md:py-6 lg:px-0 m-auto w-full" >
58
58
< div className = "w-8 flex flex-col relative items-end" >
59
59
< div className = "relative h-7 w-7 p-1 rounded-sm text-white flex items-center justify-center text-opacity-100r" >
@@ -132,7 +132,7 @@ export const PlaygroundMessage = (props: Props) => {
132
132
</ >
133
133
) : (
134
134
< p
135
- className = { `prose dark:prose-invert whitespace-pre-line prose-p:leading-relaxed prose-pre:p-0 dark:prose-dark ${
135
+ className = { `prose dark:prose-invert whitespace-pre-line prose-p:leading-relaxed prose-pre:p-0 dark:prose-dark ${
136
136
props . message_type &&
137
137
"italic text-gray-500 dark:text-gray-400 text-sm"
138
138
} `} >
@@ -148,7 +148,7 @@ export const PlaygroundMessage = (props: Props) => {
148
148
/>
149
149
) }
150
150
</ div >
151
- { /* source if aviable */ }
151
+ { /* source if available */ }
152
152
{ props . images &&
153
153
props . images &&
154
154
props . images . filter ( ( img ) => img . length > 0 ) . length > 0 && (
@@ -196,10 +196,10 @@ export const PlaygroundMessage = (props: Props) => {
196
196
) }
197
197
{ ! props . isProcessing && ! editMode && (
198
198
< div
199
- className = { `space-x-2 gap-2 mt-3 ${
199
+ className = { `space-x-2 gap-2 mt-3 flex ${
200
200
props . currentMessageIndex !== props . totalMessages - 1
201
- ? "hidden group-hover:flex "
202
- : "flex "
201
+ ? "invisible group-hover:visible "
202
+ : ""
203
203
} `} >
204
204
{ props . isTTSEnabled && (
205
205
< Tooltip title = { t ( "tts" ) } >
0 commit comments