better styles for ref links on grid view.