fixing style so long layer names and map names don't go off grid