"The size of the header is computed with a mathematical function and passed further to react. This way the header does not wrap around for single words that are long. However, it still wraps around for phrases."
Solution
With this PR, the size of the header is computed with a mathematical function and passed further to react. This way, the header does not wrap around for long single words; the functionality of text wrapping around for phrases is still maintained.
See appendix below.
Type of Change
[X] 🐛 Bug fix (non-breaking change)
✨ New feature (non-breaking change)
⚠️ Breaking change
📚 Documentation update
This activity is supported by the Network Institute, Vrije Universiteit Amsterdam, under the Code for Humanity initiative.
Appendix
Initially
Text from template
4 letter word (<5 threshold)
>=5 letter-threshold
14 letter word (3% of the English words have >=letters, 0.02% have >=14 letters)
🚀 (fix) issue #1375 -- header size dynamically adjusted
Issue
"The size of the header is computed with a mathematical function and passed further to react. This way the header does not wrap around for single words that are long. However, it still wraps around for phrases."
Solution
With this PR, the size of the header is computed with a mathematical function and passed further to react. This way, the header does not wrap around for long single words; the functionality of text wrapping around for phrases is still maintained.
See appendix below.
Type of Change
This activity is supported by the Network Institute, Vrije Universiteit Amsterdam, under the Code for Humanity initiative.
Appendix
Initially
Text from template
4 letter word (<5 threshold)
>=5 letter-threshold
14 letter word (3% of the English words have >=letters, 0.02% have >=14 letters)
A bit towards extreme
"ABCDE FGHIJKLM NOPQRSTU" (3 longer words)