Fix styling on graph legends.

When .summary is not present, float legend left. When .summary is present, fill space available.