Bug 969413 - Make the edit mode bottom margin rule apply only to the relevant elements