Another way to do this would be to set specific $linkAttribs keys for height, margin & padding.  This would let more CSS/HTML live in the template rather than code, making it more readable/greppable.  I could go either way though; @lizlux do you have an opinion on this?