dgraph-docs icon indicating copy to clipboard operation
dgraph-docs copied to clipboard

Sidebars take up too much space on vertical displays.

Open maringuu opened this issue 1 year ago • 1 comments

The Problem

All screenshots were taken on a 3840x2160 display in Firefox zoomet to 130%.

Lets first have a look at the docs on a regular horizontal display. Looks good and nicely readable.

Dgraph - horizontal

dgraph-horizontal

On the other hand the vertical version is very ugly and hard to read. The actual documentation take up only one third of the available screenspace.

Dgraph - vertical

dgraph-vertical

As a comparison here is a screenshot of the Rust Book. It is way more readable.

Rust - vertical

rust-vertical

Possible solutions

If both sidebars ("On This Page" and the left one) could be hidden manually, the actual documentation could take up all screenspace. Interestingly the left sidebar automatically hides in the following screenshot.

Dgraph - hidden sidebar

dgraph-half

Edit: Related https://github.com/dgraph-io/dgraph-docs/issues/623

maringuu avatar Mar 08 '24 10:03 maringuu

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

github-actions[bot] avatar Jul 11 '24 01:07 github-actions[bot]