made it so that text shrinks when edit tab is open