mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Fix for the chat box going out of bounds
This commit is contained in:
parent
592e60ab79
commit
27452c04e2
2 changed files with 21 additions and 7 deletions
|
@ -6,6 +6,7 @@
|
|||
<p>{{user}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="chatbox-message-box">
|
||||
<div class="chatbox__messages" *ngFor="let m of messages">
|
||||
<div class="chatbox__messages__user-message">
|
||||
<div class="chatbox__messages__user-message--ind-message" [ngClass]="{'sender': m.chatType === ChatType.Sender, 'reciever':m.chatType === ChatType.Reciever }">
|
||||
|
@ -16,6 +17,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form">
|
||||
<input type="text" [(ngModel)]="currentMessage" placeholder="Enter your message">
|
||||
<button mat-raised-button class="add-message" (click)="addMessage()">Send</button>
|
||||
|
|
|
@ -195,6 +195,18 @@ html,body {
|
|||
:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
.chatbox-message-box{
|
||||
height: 90%;
|
||||
width: 75%;
|
||||
position: relative;
|
||||
overflow-y: scroll;
|
||||
display:flex;
|
||||
flex-direction:column-reverse;
|
||||
}
|
||||
|
||||
.chatbox__user-list p{
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
// ::-webkit-scrollbar {
|
||||
// width: 4px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue