Fit text to container