delay styling margin in case DOM is not rendered.