Gatsby-theme-novela: Contentful Media Is Modifying How Content Is Presented

Created on 14 Sep 2020  路  1Comment  路  Source: narative/gatsby-theme-novela

Prerequisites

  • [x] Have you searched the issue tracker for similar issues (either past or present)?
  • [x] Can you reproduce the issue consistently?
  • [x] Are you reporting to the correct repository?
  • [ ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.

Description

Version of Novela you are using

Number of posts you have and which data source

  • [ ] Local
  • [x] Contentful

Describe the bug

It seems that Contentful is properly displaying content when using the "Insert Media" button.

To Reproduce

Steps to reproduce the behavior:

  1. Login to Contentful
  2. Create a new Content
  3. In the Body section, click the "Insert Media" button
  4. Add content before and after media
  5. Click Publish
  6. Review the published page and notice how body content (before or after the media) is not properly aligning

Expected behavior

I expect all paragraphs to be properly aligned with the rest of the body

Screenshots

screen
screen 2

Browser

Chrome, Firefox, Brave

Additional context

This issue exists when deploying Novela on Contentful.
This issue does not exist when running Novela on localhost via yarn dev.

bug

Most helpful comment

@slavakurilyak check your paragraph indentation in the Contentful markdown editor. I've had this issue in the past with another project.

>All comments

@slavakurilyak check your paragraph indentation in the Contentful markdown editor. I've had this issue in the past with another project.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SabariVig picture SabariVig  路  4Comments

vzahradnik picture vzahradnik  路  3Comments

rommelporras picture rommelporras  路  4Comments

KrisBraun picture KrisBraun  路  4Comments

dennismorello picture dennismorello  路  4Comments