Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

nb-card-body {
transition: all 0.2s ease-in-out;
@apply com-grid com-p-0;
@apply com-flex com-flex-col com-overflow-hidden com-p-0;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,21 @@ <h4>Be the first one to message!</h4>
</div>
</div>
</div>
</div>
<div class="send-message-form">
<commudle-editor
*ngIf="currentUser && !blocked"
[editable]="true"
[placeholder]="'Type Here'"
[status]="'info'"
[appearance]="'filled'"
(contentChange)="sendMessage($event)"
[validators]="validators"
></commudle-editor>
<p *ngIf="currentUser && blocked" class="blocked-text">You have blocked this User</p>

<div class="send-message-form">
<commudle-editor
*ngIf="currentUser && !blocked"
[editable]="true"
[placeholder]="'Type Here'"
[status]="'info'"
[appearance]="'filled'"
(contentChange)="sendMessage($event)"
[validators]="validators"
></commudle-editor>
<p *ngIf="currentUser && blocked" class="blocked-text">You have blocked this User</p>

<button *ngIf="!currentUser" nbButton fullWidth status="primary" class="login-button" (click)="login()">
Post a Message
</button>
</div>
<button *ngIf="!currentUser" nbButton fullWidth status="primary" class="login-button" (click)="login()">
Post a Message
</button>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
:host {
@apply com-h-full;
@apply com-flex com-min-h-0 com-flex-col com-flex-grow;

.discussion-chat-component {
@apply com-h-full com-relative;
@apply com-flex-grow com-min-h-0 com-flex com-flex-col com-relative;

.messages {
@apply com-h-full;
@apply com-min-h-0 com-flex-grow com-overflow-y-auto;

.message {
@apply com-p-0 com-px-3;
Expand All @@ -22,7 +22,7 @@
}

.send-message-form {
@apply com-bg-white com-sticky com-bottom-0 com-w-full;
@apply com-bg-white com-shrink-0 com-sticky com-bottom-0 com-w-full;

form {
align-items: self-start;
Expand Down