forked from Automattic/wp-calypso
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Reader Post Component in SEO Reader Preview (Automattic#12704)
* First attempt at using the `reader-post-card` component in the SEO reader preview. * Don’t allow the action buttons to wrap. * Code style cleanup. * Hide the bottom border when used as an SEO preview. * Hide labels until we break at 960px. Used object.assign for a cleaner process of the post -> readerpost conversion. Force has_avatar so we get round avatars for authors. * Cleaned up the PropTypes in the `reader-preview` component. * Fix wrapping issue with action buttons. * Stub the reader-preview component for SSR to get the build working.
- Loading branch information
Showing
5 changed files
with
66 additions
and
105 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
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
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