CSS Tweak
Added a check for relation type