openlibrary
openlibrary copied to clipboard
Fixed Links and code section overflow in API Documentation pages
Closes #8839
Fixed Links and code section overflow in API Documentation pages.
Technical
Added word-wrap: break-word
property to div#contentBody
to solve the issue.
Testing
Screenshot
Stakeholders
@jimchamp
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 16.02%. Comparing base (
c1997f5
) to head (911457e
). Report is 32 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #8841 +/- ##
==========================================
- Coverage 16.28% 16.02% -0.27%
==========================================
Files 87 89 +2
Lines 4618 4693 +75
Branches 805 818 +13
==========================================
Hits 752 752
- Misses 3371 3434 +63
- Partials 495 507 +12
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
As mentioned by @cdrini updated the <pre>
tag to include a scroll bar, and for anchors used word-wrap: break-word
.