diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-15 22:44:31 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-15 22:44:31 +0100 |
commit | 88adad2d0f42028a116ccc8173f5a62ad306cc32 (patch) | |
tree | 7066c14ed2a999bcaebd22599917545b631aa3ae /client/src/app/videos/+video-watch/comment/video-comment-add.component.html | |
parent | dd4f25eea802fd88ea641d730432b56f562e0861 (diff) | |
download | PeerTube-88adad2d0f42028a116ccc8173f5a62ad306cc32.tar.gz PeerTube-88adad2d0f42028a116ccc8173f5a62ad306cc32.tar.zst PeerTube-88adad2d0f42028a116ccc8173f5a62ad306cc32.zip |
improve comment form: cancel button and full width
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment-add.component.html')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment-add.component.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html index cce8455e0..3a9977df6 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.html | |||
@@ -16,9 +16,12 @@ | |||
16 | </div> | 16 | </div> |
17 | </div> | 17 | </div> |
18 | 18 | ||
19 | <div class="submit-comment"> | 19 | <div class="comment-buttons"> |
20 | <button *ngIf="isAddButtonDisplayed()" class="cancel-button" (click)="cancelCommentReply()" i18n> | ||
21 | Cancel | ||
22 | </button> | ||
20 | <button *ngIf="isAddButtonDisplayed()" [ngClass]="{ disabled: !form.valid || addingComment }" i18n> | 23 | <button *ngIf="isAddButtonDisplayed()" [ngClass]="{ disabled: !form.valid || addingComment }" i18n> |
21 | Post comment | 24 | Reply |
22 | </button> | 25 | </button> |
23 | </div> | 26 | </div> |
24 | </form> | 27 | </form> |