From d1cc91dd6f51a9e6e769423bb45a6bfa9e8bbe49 Mon Sep 17 00:00:00 2001 From: ajaythapliyal Date: Tue, 7 Mar 2023 09:44:53 +0530 Subject: [PATCH] makes feedback icon always visible for mobile --- frontend/src/conversation/ConversationBubble.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index 82074c39..6cb5667c 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -19,10 +19,6 @@ const ConversationBubble = forwardRef< ref, ) { const [showFeedback, setShowFeedback] = useState(false); - // const [overriddenFeedback, setOverriddenFeedback] = useState< - // FEEDBACK | undefined - // >(undefined); - // const effectiveFeedback = overriddenFeedback ?? feedback; let bubble; if (type === 'QUESTION') { @@ -59,7 +55,7 @@ const ConversationBubble = forwardRef< className={`mr-2 flex items-center justify-center ${ feedback === 'LIKE' || (type !== 'ERROR' && showFeedback) ? '' - : 'invisible' + : 'md:invisible' }`} >