text itself seems to be aligned properly, but the background rects are overlapping.  Demo: http://codepen.io/eagor/pen/RROKKK