Refactor some of the directives
Smaller card layout h5