Removed wrapper since unneeded inside main wrapper. Added conditional logic to not have empty margin.