We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm seeing this html rendering issue with v2.0.4.
Given children:
<ul><li>Testing 1 2 3</li></ul>
The list text is unnecessarily broken up on to new lines.
While paragraph text renders correctly:
<p>Testing 1 2 3</p>
Output:
Other dependencies: react-pdf: 9 @react-pdf/renderer: 3.4.4
react-pdf
@react-pdf/renderer
The text was updated successfully, but these errors were encountered:
@rohit8 is your Html element wrapped in other react-pdf elements? I wonder if it's inheriting parent styles or being constrained by a parent width.
Html
Sorry, something went wrong.
@rohit8 I had the same issue with li tags
li
Solved by setting specific width for the Html element - <Html style={{ width: '100%' }}>{description}</Html> Either downgrade to the 1.1.21 version
<Html style={{ width: '100%' }}>{description}</Html>
1.1.21
@danomatic 2b9d02e
No branches or pull requests
I'm seeing this html rendering issue with v2.0.4.
Given children:
The list text is unnecessarily broken up on to new lines.
While paragraph text renders correctly:
Output:
Other dependencies:
react-pdf
: 9@react-pdf/renderer
: 3.4.4The text was updated successfully, but these errors were encountered: