diff --git a/CHANGELOG.md b/CHANGELOG.md index 09fd21c..056abef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to ### Fixed +- 🐛(front) fix opacity input in error - 🐛(front) resolve React hydration errors - 🚑️(user) allow longer short names #182 diff --git a/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx b/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx index 0059a86..37555db 100644 --- a/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx +++ b/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx @@ -991,6 +991,7 @@ export const Chat = ({ position: relative; bottom: ${isMobile ? '8px' : '20px'}; margin: auto; + background-color: white; z-index: 1000; `} $gap="6px" diff --git a/src/frontend/apps/conversations/src/features/chat/components/InputChat.tsx b/src/frontend/apps/conversations/src/features/chat/components/InputChat.tsx index 6ff134e..d8a320f 100644 --- a/src/frontend/apps/conversations/src/features/chat/components/InputChat.tsx +++ b/src/frontend/apps/conversations/src/features/chat/components/InputChat.tsx @@ -300,7 +300,6 @@ export const InputChat = ({ $css={` display: block; position: relative; - opacity: ${status === 'error' ? '0.5' : '1'}; margin: auto; width: 100%; padding: ${isDesktop ? '0' : '0 10px'}; @@ -423,6 +422,7 @@ export const InputChat = ({ fontSize: '1rem', border: 'none', resize: 'none', + opacity: status === 'error' ? '0.5' : '1', fontFamily: 'inherit', minHeight: '64px', maxHeight: '200px', @@ -573,6 +573,9 @@ export const InputChat = ({ $gap="sm" $padding={{ bottom: 'base' }} $align="space-between" + $css={` + opacity: ${status === 'error' ? '0.5' : '1'}; + `} >