Skip to content

Commit 8b9a993

Browse files
committed
chat upgraded
1 parent 1e5c649 commit 8b9a993

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

src/app/chat/chat.component.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,7 @@
3434
.messagePrefix{
3535
float: left;
3636
font-weight: bold;
37+
}
38+
.myTextInput{
39+
color: white;
3740
}

src/app/chat/chat.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="row InputBox m-0">
1414
<div class="h-100 col-1 px-0 pl-md-5 py-0 d-inline my-auto ">
1515
<div class=" backgroundGrey d-block h-100 row mx-0">
16-
<div class="myButton w-100 h-100" (click)="closeChat()">Zakończ</div>
16+
<button class="myButton w-100 h-100" (click)="closeChat()">Zakończ</button>
1717
<!--<div class="col-12 h-100 d-table">
1818
<div class="d-table-cell align-middle text-center">
1919
Wyjdź
@@ -23,12 +23,12 @@
2323
</div>
2424
<div class="h-100 col-10 px-0 py-0">
2525
<div class="backgroundGrey d-block h-100 w-100">
26-
<input #textInput type="text" class="form-control search-input" name="search" placeholder="Search..." ngModel (ngModelChange)="onTextChange($event)" (keyup.enter)="sendMessage(textInput.value)">
26+
<input #textInput type="text" class="backgroundGrey myTextInput w-100 h-100 px-2 py-1" ngModel (ngModelChange)="onTextChange($event)" (keyup.enter)="sendMessage(textInput.value)">
2727
</div>
2828
</div>
2929
<div class="h-100 col-1 px-0 pr-md-5 py-0 text-center">
3030
<div class="backgroundGrey d-block h-100 w-100">
31-
<button class="myButton w-100 h-100 b-0" (click)="sendMessage(textInput.value)">Wyślij</button>
31+
<button mat-button class="myButton w-100 h-100 b-0" (click)="sendMessage(textInput.value)">Wyślij</button>
3232
</div>
3333
</div>
3434
</div>

src/styles.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,13 @@ body {
6161
.content, .dispHeight{
6262
height: 100vh;
6363
}
64-
64+
*:focus {
65+
outline: none !important;
66+
border: 0 !important;
67+
}
68+
button, input {
69+
border-width: 0;
70+
}
71+
.nofocus:focus {
72+
outline: none;
73+
}

0 commit comments

Comments
 (0)