Update text size code for tablet layout