Skip to content

Conversation

@tomquinonero
Copy link

@tomquinonero tomquinonero commented Apr 13, 2019

Description

This PR tackles #5638, with a different approach: make the sidebar look good with the default size even if the endpoints names are long.
We could make it resizable if still needed.

Also contains a fallback font when Verdana is missing (sans-serif).

Done in pair with @ewjoachim
We also thought about other ideas to improve the sidebar but @tomchristie said there is going to be change with API star.

Tom Quinonero and others added 2 commits April 13, 2019 16:11
@tomquinonero
Copy link
Author

Before/after screenshots:
127 0 0 1_8000_docs_ (1) | 127 0 0 1_8000_docs_ (2)

@rpkilby
Copy link
Contributor

rpkilby commented Apr 19, 2019

Great work. That looks much nicer. Adding to the 3.10 milestone for review.

@rpkilby rpkilby added this to the 3.10 Release milestone Apr 19, 2019
@lovelydinosaur lovelydinosaur merged commit 7762aaa into encode:master Jul 8, 2019
@lovelydinosaur
Copy link
Contributor

Great stuff, thanks!

pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
* add sans-serif fallback for Verdana in docs sidebar

Co-Authored-By: Joachim Jablon <[email protected]>

* improve display for docs sidebar (encode#5638)

Co-Authored-By: Joachim Jablon <[email protected]>
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
* add sans-serif fallback for Verdana in docs sidebar

Co-Authored-By: Joachim Jablon <[email protected]>

* improve display for docs sidebar (encode#5638)

Co-Authored-By: Joachim Jablon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants