Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

This fix is now included in the Stack Overflow Unofficial Patch (SOUP) v1.20.0

About

We have this nicely formatted toolbar with all of the moderation tools we need below questions:

SE Toolbar

So, why is it that the separator that goes along with the new comment format looks like this?

New comment styling

This is a simple fix that removes the extra space between the separator and the comment buttons and makes the separator the same color as the standard separator.

On Stack Overflow, it looks like this:

Fixed comment styling

As an added bonus, it will match the styling of the default toolbar for each particular site because it uses the SE-defined class for the toolbar separators.

For example, Meta Stack Exchange uses this design for toolbars:

MSE Toolbar

There are no separators, which adheres to MSE's design. However, the new comment format uses separators anyway:

New comment design on MSE

Because this script utilizes the built-in classes for toolbars on each site, it will adhere to its design principles:

Fixed MSE design

This script was inspired by this post on Meta Stack Overflow.

Download

You can download the script from Greasy Fork (Direct Link) or view the source code.

Installation

See the tag wiki for details on userscript installation.

History

See the Greasy Fork changelog.

Contact

Please post bug reports or feature requests on this page as an answer or comment.

share|improve this question
    
Version 1.1.3 (took a bit of tinkering there) fixes a bug that caused a separator to be displayed even though no comments overflowed. This bug was caused by the way that SE structured the inclusion of the separator. –  AstroCB Jul 26 at 5:47
    
Version 1.2.1 fixes a bug that caused the separator to remain after show comments was clicked. –  AstroCB Jul 26 at 20:13
    
Version 2.0 has been entirely rewritten in a way that should force the script to act in a way that is compliant with SE standards, thus negating the need for previous workarounds and deeming this (tentatively) the final version. –  AstroCB Jul 27 at 22:28
    
Version 3.1.0 fixes the only known bug whereby new comments loaded over AJAX did not have the separator. –  AstroCB Aug 11 at 14:46

You must log in to answer this question.

Browse other questions tagged .