Handle trailing margin