Fixing the legal pages so they do not run out of the container