openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Fixed Links and code section overflow in API Documentation pages

Open rishabhkr-r111 opened this issue 1 year ago • 1 comments

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

rishabhkr-r111 avatar Feb 25 '24 17:02 rishabhkr-r111

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.

codecov-commenter avatar Feb 25 '24 17:02 codecov-commenter

As mentioned by @cdrini updated the <pre> tag to include a scroll bar, and for anchors used word-wrap: break-word.

rishabhkr-r111 avatar Mar 04 '24 20:03 rishabhkr-r111