Fixing css problem that causes legend out of place

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