Skip to content

Commit b5e150f

Browse files
committed
fix: Add Angular specific selectors to message input
1 parent 8958280 commit b5e150f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

projects/stream-chat-angular/src/lib/message-input/message-input.component.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@
166166
</div>
167167
</div>
168168

169-
<div *ngIf="themeVersion === '2'" class="str-chat__message-input">
169+
<div
170+
*ngIf="themeVersion === '2'"
171+
class="str-chat__message-input str-chat-angular__message-input"
172+
>
170173
<div *ngIf="quotedMessage" class="str-chat__quoted-message-preview-header">
171174
<div class="str-chat__quoted-message-reply-to-message">
172175
{{ "streamChat.Reply to Message" | translate }}
@@ -183,7 +186,12 @@
183186
</button>
184187
</div>
185188
<ng-container *ngIf="canSendMessages; else notAllowed">
186-
<div class="str-chat__message-input-inner">
189+
<div
190+
class="
191+
str-chat__message-input-inner
192+
str-chat-angular__message-input-inner
193+
"
194+
>
187195
<div
188196
*ngIf="isFileUploadEnabled && isFileUploadAuthorized && canSendMessages"
189197
class="str-chat__file-input-container"

0 commit comments

Comments
 (0)