Bullets in lists not aligned properly
See original GitHub issueI get these (non properly aligned) bullets, in Android:
when using a list:
- Wi-Fi or Cable Fast Internet in the room\*
- PC Room rentals available\*
- 24 hour Reception
- 24 hour Security Patrols
- 24 hour Currency exchange
- Free shuttle service to Bufos beach 900m (3 times daily)
- Laundry service\*
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Bulleted items or numbered items become misaligned ...
This behavior occurs because bulleted items and numbered items use an internal tab to align the text with the bullet or with the...
Read more >ul bullets not aligning - html
Unfortunately, neither bullets and text align correctly, I've tried using divs and it still doesn't work. This is what is happening: This is ......
Read more >How to Line Up Bullets and Paragraphs in Microsoft Word
1. Click anywhere inside of the paragraph in which you want to align your bulleted list. · 2. Click anywhere inside the bulleted...
Read more >Bulleted lists not aligned properly - Shopify Community
Hello, whenever I create bulleted lists on my site that span multiple lines the subsequent lines do not line up with the start...
Read more >Align text to the bullets of a list
The oddity about regular lists are that their labels or set right-aligned. The following indentitem environment emulates that approach, ...
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 FreeTop 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
Top GitHub Comments
@CharlesMangwa Thanks Charles,
This would require to know the font size of the Text after the bullet and if this changes the bullet lineHeight should also change, etc.
Wouldn’t it be more appropriate to have a FLEX view around the two TEXT components, with
flexDirection: 'row'
andalignItems: 'center'
?Something along these lines.
This should be done inside the library however, as this code could be added by the end user.
What do you think?
Fixed in https://github.com/CharlesMangwa/react-native-simple-markdown/commit/3b4147bd8729bb4875f0a2dbf2757e493d227cab