🐛(front) fix opacity input in error

fix opacity input in error
This commit is contained in:
Eléonore Voisin
2025-12-02 14:40:27 +01:00
parent 83904d8878
commit 19cf3b2663
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -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
@@ -991,6 +991,7 @@ export const Chat = ({
position: relative;
bottom: ${isMobile ? '8px' : '20px'};
margin: auto;
background-color: white;
z-index: 1000;
`}
$gap="6px"
@@ -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'};
`}
>
<Box
$flex="1"