Use "text-overflow:ellipsis" to prevent huge path names from overflowing out of the header and making app wider than the screen.