Text aligned center and continued
See original GitHub issueHi!
In react-pdf we need to render inline texts (for what we use the continued
option) that can be also centered in the page. However, when both conditions are present, the render output is not correct. Is there any way to achieve this? Maybe I’m missing something.
We cannot join all strings before render them because there might be a link in the middle of the text string.
![screen shot 2018-02-03 at 6 42 54 pm](https://user-images.githubusercontent.com/5600341/35771872-596bf734-0912-11e8-9211-949d2146dc4a.png)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6
Top Results From Across the Web
text-align - CSS: Cascading Style Sheets - MDN Web Docs
The text-align CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
Read more >Align or justify text - Microsoft Support
You can align text with margins in Word, including left, center, right, and justified.
Read more >flexbox: set align-items center but text will continue to the ...
Well, its not pretty, but its a working solution: setting the text height to a fixed value, which is 1 line of text...
Read more >Why You Should Never Center Align Paragraph Text
Left aligned text is easier to read than centered text for paragraphs. This is because when you center your text, the starting place...
Read more >Text Alignment in Web Design: To Center or Not?
When Should I Center Text? · Headers – Centering a topic header or headline will set it apart from the rest of the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Code to reproduce:
issue is still there 😦