Skip to content

Commit

Permalink
Fixed #1848
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Jan 18, 2017
1 parent d774a37 commit 47f39ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions components/growl/growl.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
}

.ui-growl-item {
display:block;
position: relative;
display: block;
padding: .5em 1em;
}

Expand All @@ -36,17 +37,16 @@
}

.ui-growl-image {
position: absolute;
display: inline-block;
vertical-align: top;
margin-left: .25em;
margin-right: .5em;
left: .5em;
top: .25em;
padding: 0;
}

.ui-growl-message {
padding: 0 0 .25em 0;
display: inline-block;
vertical-align: top;
margin-left: 2.5em;
}

.ui-growl-message p {
Expand Down
2 changes: 1 addition & 1 deletion components/growl/growl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {DomHandler} from '../dom/domhandler';
<div class="ui-growl-item">
<div class="ui-growl-icon-close fa fa-close" (click)="remove(msg,msgel)"></div>
<span class="ui-growl-image fa fa-2x"
[ngClass]="{'fa-info-circle':msg.severity == 'info','fa-warning':msg.severity == 'warn',
[ngClass]="{'fa-info-circle':msg.severity == 'info','fa-exclamation-circle':msg.severity == 'warn',
'fa-close':msg.severity == 'error','fa-check':msg.severity == 'success'}"></span>
<div class="ui-growl-message">
<span class="ui-growl-title">{{msg.summary}}</span>
Expand Down

0 comments on commit 47f39ba

Please sign in to comment.