Skip to content

Commit

Permalink
fix animation glitch with bootstrap theme
Browse files Browse the repository at this point in the history
  • Loading branch information
akoskm committed Sep 26, 2014
1 parent f9281ac commit 73c31b8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion js/noty/themes/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
this.$closeButton.append('<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>');
this.$closeButton.addClass('close');

this.$bar.addClass( "list-group-item" );
this.$bar.addClass( "list-group-item" ).css('padding', '0px');

switch (this.options.type) {
case 'alert': case 'notification':
Expand All @@ -42,6 +42,15 @@
this.$bar.addClass( "list-group-item-success" );
break;
}

this.$message.css({
fontSize: '13px',
lineHeight: '16px',
textAlign: 'center',
padding: '8px 10px 9px',
width: 'auto',
position: 'relative'
});
},
callback: {
onShow: function() { },
Expand Down

0 comments on commit 73c31b8

Please sign in to comment.