openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Links and code section overflow in API Documentation pages

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

Links and code section overflow in API Documentation pages.

This both affect the Desktops and Mobile Versions, but it severely effects the useability of the website in the mobile version as due to overflow the hamburger menu is not accessible.

Switch to mobile Version and open the link https://openlibrary.org/dev/docs/api/search. Hamburger menu will not be accessible due to overflow.

Evidence / Screenshot (if possible)

9e4f02b3-7fa3-40af-8f47-c3cfbcbd78fb b511111e-3645-4d92-840b-6d1a66f63e1a

Details

  • Logged in (Y/N)?
  • Browser type/version?
  • Operating system?
  • Environment (prod/dev/local)? prod/dev

Proposal & Constraints

word-wrap: break-word property can be added to div#contentBody to solve the issue.

Related files

openlibrary\static\css\layout\index.less

Stakeholders

rishabhkr-r111 avatar Feb 23 '24 21:02 rishabhkr-r111

I will like to work on this. The Solution should be very straightforward.

rishabhkr-r111 avatar Feb 23 '24 21:02 rishabhkr-r111

@rishabhkr-r111 yes please, thank you for opening the issue and for your attention to detail :)

mekarpeles avatar Feb 24 '24 23:02 mekarpeles