Updated the code to justify the height and adjust the paras