From 4cf470baa03e538ca71063bc2634821b8443b873 Mon Sep 17 00:00:00 2001 From: Luke Ryley Date: Wed, 20 Jan 2016 16:16:37 +1300 Subject: [PATCH] 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 --- js/cms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/cms.js b/js/cms.js index f539c00..2fd5bdc 100644 --- a/js/cms.js +++ b/js/cms.js @@ -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();