diff --git a/app/assets/stylesheets/base.css.scss b/app/assets/stylesheets/base.css.scss index ac7d4c73..98fa582d 100644 --- a/app/assets/stylesheets/base.css.scss +++ b/app/assets/stylesheets/base.css.scss @@ -68,6 +68,14 @@ body { list-style: none; } +.about--moderator a { + text-decoration: none; +} + +.about--moderator a:hover { + text-decoration: none; +} + .j2-up { text-transform: uppercase; } diff --git a/app/views/static/about.html.haml b/app/views/static/about.html.haml index b8abc228..4ae341ab 100644 --- a/app/views/static/about.html.haml +++ b/app/views/static/about.html.haml @@ -42,10 +42,8 @@ that look after you! %ul.about--moderator - User.where(moderator: true).each do |mod| - %li - %a{href: show_user_profile_path(mod.screen_name)} - %img.answerbox--img-small{src: User.find_by_screen_name(mod.screen_name).profile_picture.url(:medium)} - = mod.screen_name + %a{href: show_user_profile_path(mod.screen_name), title: mod.screen_name, data: { toggle: :tooltip, placement: :top }} + %img.img-rounded.answerbox--img-small{src: mod.profile_picture.url(:small)} .col-sm-4 .panel.panel-default .panel-body