Replace svg w/ inline code and work on grid