Giter VIP home page Giter VIP logo

Comments (3)

samth avatar samth commented on June 15, 2024

cc @mbutterick

from scribble.

mbutterick avatar mbutterick commented on June 15, 2024

I don’t love the navigational sidebar, since it’s sort of a ’90s web-design trope. Though I’m open to better ideas, I haven’t come up with one:

  • As you noticed, the sidebar can be any length, so fixing its location won’t work.

  • At one point I tried making the sidebar separately scrollable from the rest of the page, but that felt janky and finicky.

  • Hiding / showing the sidebar with a click or hover feels like a chore.

My best alternative idea has been to move it to the top of the page in a two-column display, and then make it available below as a sort of “HUD” display.

The other longstanding problem is that the sidebar disappears entirely on a narrow display. This is intentional — it doesn’t fit, otherwise — but ultimately I would like to move toward a layout that’s designed from the ground up to work on screens of differing widths (which the original layout was not)

from scribble.

zoeeer avatar zoeeer commented on June 15, 2024

@mbutterick Although I still think it's nice for document reading to have a sidebar showing table of contents, I agree that better alternatives should be considered. There's no better ideas in my head for now. However it's very nice to see you've been planning things on this.

from scribble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.