-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slightly better way to display the nearby contributors list
This switches to `display: inline-block` and adds `max-width: 110px` and `text-overflow: ellipsis` to guard against long usernames making this content too wide. Also make sure the user-links include their parent span so the :last-of-type selector can work to add commas between the list items. Before it didn't work beacuse of the "and {n} others". (the {n} becomes the last-of-type, and the last username got a trailing comma)
- Loading branch information
Showing
2 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters