gitfrosh / lotr-api

This repository holds the code base of the API to rule them all, the Lord of the Rings api, which provides you with book, character, movie and quotes data.
https://the-one-api.dev
238 stars 66 forks source link

Text in the documentation table is truncated with elipsis #38

Closed MajaZubko closed 3 years ago

MajaZubko commented 3 years ago

This issue is related to the way the documentation is displayed on page https://the-one-api.dev/documentation. Some of the endpoints urls are truncated with elipses which prevents the user from seeing all of it (unless they change the width of the window - works fine in narrow screens).

This should be easy to fix by removing the text-overflow: ellipsis and using overflow-wrap or word-break (not sure which would work best here).

Another option would be to add a tooltip on hover containing the full text when it gets truncated.

Screenshots taken on width of 1440px:

Screenshot 2021-05-24 at 09 42 40 Screenshot 2021-05-24 at 09 43 02
gitfrosh commented 3 years ago

Hi @MajaZubko, thanks a lot for reporting this issue! Feel free to submit a pull request. 🚀