mountain_view icon indicating copy to clipboard operation
mountain_view copied to clipboard

Create option for component documentation to have horizontal navigation

Open kimadactyl opened this issue 7 years ago • 4 comments

It would be great if the left hand navigation could go at the top instead to make testing responsive components easier. Obviously can hide it using display: none but be great to not have to do this :)

kimadactyl avatar Aug 14 '17 11:08 kimadactyl

@kimadactyl great suggestion! With responsive websites becoming more and more common this days, it definitively sounds like something everybody could benefit from. (PR's welcome :))

Have you tweaked your app/views/layouts/mountain_view.html.erb yourself?

kitop avatar Aug 14 '17 12:08 kitop

Yeah can possibly do a PR, would be some considerable yak shaving for where I'm at right now but can have a look soon :smile:

kimadactyl avatar Aug 14 '17 12:08 kimadactyl

Sure, thanks!

If you want, maybe we can start with screenshots of what you have first (covering sensitive information if needed), so we are all in the same page regarding looks and responsiveness.

kitop avatar Aug 14 '17 12:08 kitop

My 2 cents: you can also keep the navigation vertical (which is the most effective when you have a lot of components) but add a toggle button to hide it, so you can display your component in full width. That's the solution we usually favor on our styleguides.

Spone avatar Aug 21 '17 13:08 Spone