Fixing css problem that causes legend out of place

NuCivic/nucivic-internal#228 

### Acceptance test
- [ ] git pull
- [ ] Go to any resource and enter to data explorer view
- [ ] Select a graph an chose a group to render
- [ ] Legend should be displayed correctly.