Stopped messages overflowing in blog-post using id

Changed from using the message class which is by all messages on the page to just using the id which can only be used by one element
This commit is contained in:
Luke Ryley 2016-01-20 16:16:37 +13:00
parent 636c916a23
commit 4cf470baa0

View File

@ -91,7 +91,7 @@
minInnerWidth: 620,
onadd: function() {
// Adding margin to prevent post options from overlaping message box
$('.message').attr('style', 'margin-right: 56px');
$('#Form_EditForm_error ').attr('style', 'margin-right: 56px');
this._super();
this.updateLayout();