Contain text to an irregular container size