andela / pibbble

Dribbble Clone for Programmers
https://pibbble-staging.herokuapp.com/
13 stars 3 forks source link

[Chore #112349171] Font for number of comments on the projects grid should be made uniform with other fonts. #299

Closed andela-aonyango closed 8 years ago

andela-aonyango commented 8 years ago

After adding the feature (issue #260) where the number of comments are displayed on the projects grid, the fonts for the comments were found not to be uniform with the rest of the page. This fixes that by removing the text from within the italics tags.

I also added an id attribute (id='comments-project-{{ $project->id }}') to the span where the number of comments will be displayed, both because it will make it easier to resolve issue #297, and it makes it easier, in general, to deal with these elements that need to be manipulated instead of doing DOM acrobatics, since their values are not constant.