Make sure text doesn't overlap rectangle

Long search terms would overlap the icon and rectangle. Implemented fixed width and elide to address this.