37

When I ignore a user, the avatar list looks weird.

enter image description here

The blank line beneath the row with the avatar of the ignoree is quite annoying.


I use Google Chrome on OS X.

There was a question tagged but it still looks weird.

5
  • Same with FF on WinXP and Win7.
    – sbi
    Commented Nov 11, 2012 at 2:32
  • Same with Chrome on Win7.
    – Rapptz
    Commented Nov 11, 2012 at 2:33
  • 1
    Confirmed, CSS rule still missing in April 2015.
    – Jason C
    Commented Apr 11, 2015 at 2:47
  • @JasonC what a surprise.
    – user146787
    Commented Apr 11, 2015 at 9:43
  • 2
    And still missing four years later... and will most likely still be missing in 40 years. Commented Dec 24, 2016 at 19:57

1 Answer 1

19

The missing CSS rule is:

#present-users > .present-user.ignored {
    height: 16px;
}

The following userscript adds the rule to all chat rooms:

// ==UserScript==
// @name SE ignored chat user fix
// @description Add missing CSS rule to Stack Exchange chat rooms to fix display of ignored users
// @version 1.0
// @author DaveRandom
// @namespace https://github.com/DaveRandom
// @match http://chat.stackexchange.com/rooms/*
// @match http://chat.stackoverflow.com/rooms/*
// @match http://chat.meta.stackoverflow.com/rooms/*
// ==/UserScript==

(function() {

    var s = document.createElement('style');
    s.appendChild(document.createTextNode('#present-users > .present-user.ignored { height: 16px; }'));
    document.head.appendChild(s);

}());

Although obviously just adding the missing rule to the Stack Exchange stylesheets would be better :-P

2
  • 2
    Thanks! I've incorporated you fix into a collection of small user script fixes that I'm calling the Stack Overflow Unofficial Patch. Commented Jan 14, 2014 at 17:46
  • The link http://chat.meta.stackoverflow.com/rooms/* should be changed to http://chat.meta.stackexchange.com/rooms/* due to MSO/MSE splitting, but since it's already incorporated in SOUP, I don't think it really matters... Commented Nov 29, 2014 at 17:15

You must log in to answer this question.