Some Legend improvement for non inline mode

* Put class name before icone by default
* Don't do right alignment