From be6b5397874fce621ba95b2b5f13dd78723ddc70 Mon Sep 17 00:00:00 2001 From: yz778 Date: Fri, 31 Jan 2025 20:00:16 -0800 Subject: [PATCH 1/2] fix: Fix layout shift cause by hovering over icons + misc items --- src/components/Common/Playground/Message.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Common/Playground/Message.tsx b/src/components/Common/Playground/Message.tsx index a9991a8..e156a75 100644 --- a/src/components/Common/Playground/Message.tsx +++ b/src/components/Common/Playground/Message.tsx @@ -53,7 +53,7 @@ export const PlaygroundMessage = (props: Props) => { const { cancel, isSpeaking, speak } = useTTS() return (
-
+
@@ -132,7 +132,7 @@ export const PlaygroundMessage = (props: Props) => { ) : (

@@ -148,7 +148,7 @@ export const PlaygroundMessage = (props: Props) => { /> )}

- {/* source if aviable */} + {/* source if available */} {props.images && props.images && props.images.filter((img) => img.length > 0).length > 0 && ( @@ -196,10 +196,10 @@ export const PlaygroundMessage = (props: Props) => { )} {!props.isProcessing && !editMode && (
{props.isTTSEnabled && ( From 509a73238ec45f77efb610a25e9a16d855e4c0cd Mon Sep 17 00:00:00 2001 From: yz778 Date: Fri, 31 Jan 2025 20:04:28 -0800 Subject: [PATCH 2/2] Whitespace fix --- src/components/Common/Playground/Message.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Common/Playground/Message.tsx b/src/components/Common/Playground/Message.tsx index e156a75..1172c41 100644 --- a/src/components/Common/Playground/Message.tsx +++ b/src/components/Common/Playground/Message.tsx @@ -132,7 +132,7 @@ export const PlaygroundMessage = (props: Props) => { ) : (