fix margins and editor height