aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/comment/comment.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/comment/comment.component.html')
-rw-r--r--src/app/components/comment/comment.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/components/comment/comment.component.html b/src/app/components/comment/comment.component.html
index a22907a..27a11e6 100644
--- a/src/app/components/comment/comment.component.html
+++ b/src/app/components/comment/comment.component.html
@@ -1,6 +1,6 @@
<app-loading *ngIf="!loaded"></app-loading>
-<section class="card flex-row" *ngIf="loaded">
+<section class="card flex-row" [hidden]="loaded" (mouseleave)="resetShareBtn()">
<aside class="left-pane">
<img class="author-picture round-image hover-half-opacity" [src]="user.profilePictureURL" (click)="goToAuthorProfile()">
</aside>
@@ -34,7 +34,7 @@
<button class="padding-small lighter-hover click-effect border-radius-smaller" *ngIf="loggedInAuthor" (click)="toggleEditing()">
<img src="/assets/icons/tabler-icon-edit.svg">
</button>
- <button class="flexible padding-small lighter-hover click-effect border-radius-smaller">
+ <button #share ngxClipboard [cbContent]="getPostLink()" class="flexible padding-small lighter-hover click-effect border-radius-smaller" (click)="showCopiedMessage()">
<img src="/assets/icons/tabler-icon-link.svg">
&nbsp;Share
</button>