This report is about the ProGit book, version 2, English language.
[X] This bug is not about a translation or old version
Bug covers book website/pdf
[X] I confirm the bug is about the book as found on the website/pdf
Problem is present in the Pro Git book on the website?
[X] This bug also affects the Pro Git book as published on the website.
Which version of the book is affected?
I don't know
Describe the bug:
When reading through the online copy I notice that a lot of the code tags break lines in odd places, sometimes particularly bad places like in the middle of numbers as in the example image below.
I think this is from the css property word-break: break-all; on these \<code>-tags - Now I can half understand why you might want this, as on low width devices long strings (such as sha hashes) might not break across. Although if I minimize my window width (on desktop ff), the sha1 strings just force the code blocks to include a scrollbar anyway and hide overflow rather than wrap.
I had a look and I couldnt see that anyone had brought this up before.
example
Steps to reproduce:
Go to '...'
Click on '...'
'Scroll down to '...'
See error
Expected behavior:
No line breaks in the middle of words/numers/program identifiers.
There's no existing/similar bug report.
This report is about a single actionable bug.
This report is about the ProGit book, version 2, English language.
Bug covers book website/pdf
Problem is present in the Pro Git book on the website?
Which version of the book is affected?
I don't know
Describe the bug:
When reading through the online copy I notice that a lot of the code tags break lines in odd places, sometimes particularly bad places like in the middle of numbers as in the example image below.
I think this is from the css property word-break: break-all; on these \<code>-tags - Now I can half understand why you might want this, as on low width devices long strings (such as sha hashes) might not break across. Although if I minimize my window width (on desktop ff), the sha1 strings just force the code blocks to include a scrollbar anyway and hide overflow rather than wrap.
I had a look and I couldnt see that anyone had brought this up before.
example
Steps to reproduce:
Expected behavior:
No line breaks in the middle of words/numers/program identifiers.
Screenshots:
No response
Additional context:
No response
Device
No response
Operating system
Win 10 Pro
Browser/application + version
Firefox 94.0.1 (64-bit)