Skip to content

Commit

Permalink
Post Anniversaries: remove the icon alignment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre committed Jun 15, 2017
1 parent 4996efb commit 7c8fb09
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions client/my-sites/stats/stats-post-anniversaries/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ const StatModulePostAnniversaries = props => {
);
};

const CalendarIcon = () => (
<span style={ { position: 'relative', top: '-2px' } }>
<Gridicon icon="calendar" size={ 18 } />
</span>
);

const PostsList = ( { allPosts, postsByYear } ) =>
( allPosts.length === 1
? <SinglePost post={ allPosts[ 0 ] } />
Expand All @@ -81,7 +75,7 @@ const SinglePost = localize( ( { translate, post } ) => {
return (
<StatsContentText>
<p>
<CalendarIcon />
<Gridicon icon="calendar" size={ 18 } />
{ translate(
'%(yearsAgo)d year ago on this day, {{href}}%(title)s{{/href}} was published.',
'%(yearsAgo)d years ago on this day, {{href}}%(title)s{{/href}} was published.',
Expand Down

0 comments on commit 7c8fb09

Please sign in to comment.