diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-20 11:18:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-20 11:18:29 +0100 |
commit | 4707f410ae44b55e17e1758693dd21cff03b7ef1 (patch) | |
tree | c83e168ba01f834e243baf1b0e8d748fa00b96b9 /client/src/app/app.component.html | |
parent | f8b2c1b4f509c037b9650cca2c5befd21f056df3 (diff) | |
download | PeerTube-4707f410ae44b55e17e1758693dd21cff03b7ef1.tar.gz PeerTube-4707f410ae44b55e17e1758693dd21cff03b7ef1.tar.zst PeerTube-4707f410ae44b55e17e1758693dd21cff03b7ef1.zip |
Fix notification with large message
Diffstat (limited to 'client/src/app/app.component.html')
-rw-r--r-- | client/src/app/app.component.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index 0489c9558..3a60139e1 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -40,13 +40,15 @@ | |||
40 | <my-confirm></my-confirm> | 40 | <my-confirm></my-confirm> |
41 | <p-toast position="bottom-right"> | 41 | <p-toast position="bottom-right"> |
42 | <ng-template let-message pTemplate="message"> | 42 | <ng-template let-message pTemplate="message"> |
43 | <div class="message"> | 43 | <div class="notification-block"> |
44 | <h3>{{ message.summary }}</h3> | 44 | <div class="message"> |
45 | <p>{{ message.detail }}</p> | 45 | <h3>{{ message.summary }}</h3> |
46 | </div> | 46 | <p>{{ message.detail }}</p> |
47 | </div> | ||
47 | 48 | ||
48 | <span *ngIf="message.severity === 'success'" class="glyphicon glyphicon-ok"></span> | 49 | <span *ngIf="message.severity === 'success'" class="glyphicon glyphicon-ok"></span> |
49 | <span *ngIf="message.severity === 'info'" class="glyphicon glyphicon-info-sign"></span> | 50 | <span *ngIf="message.severity === 'info'" class="glyphicon glyphicon-info-sign"></span> |
50 | <span *ngIf="message.severity === 'error'" class="glyphicon glyphicon-remove"></span> | 51 | <span *ngIf="message.severity === 'error'" class="glyphicon glyphicon-remove"></span> |
52 | </div> | ||
51 | </ng-template> | 53 | </ng-template> |
52 | </p-toast> | 54 | </p-toast> |