Skip to content

Commit

Permalink
fix: textarea margins
Browse files Browse the repository at this point in the history
  • Loading branch information
nzambello committed Jul 9, 2024
1 parent e6af1ba commit 086b13e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/components/ChatTextArea/ChatTextArea.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
box-sizing: border-box;
flex: 1 0 auto;
margin-right: 0.5rem;
margin-left: 0.5rem;
/* margin-left: 0.5rem; */
}

.memori-chat-textarea--inner {
Expand Down Expand Up @@ -78,11 +78,15 @@ button.memori-chat-textarea--expand-button:focus {
outline: none;
}

.memori-chat-textarea:not(.memori-chat-textarea--disabled) .memori-chat-textarea--inner:focus .memori-chat-textarea--expand-button,
.memori-chat-textarea:not(.memori-chat-textarea--disabled) .memori-chat-textarea--inner:focus-within .memori-chat-textarea--expand-button {
.memori-chat-textarea:not(.memori-chat-textarea--disabled)
.memori-chat-textarea--inner:focus
.memori-chat-textarea--expand-button,
.memori-chat-textarea:not(.memori-chat-textarea--disabled)
.memori-chat-textarea--inner:focus-within
.memori-chat-textarea--expand-button {
opacity: 1;
}

.memori-chat-textarea:not(.memori-chat-textarea--disabled) .memori-chat-textarea-inner:focus-within {
box-shadow: 0 0.2rem 0.33rem #b5b6c4;
}
}

0 comments on commit 086b13e

Please sign in to comment.