Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add elements to NavBar? #3

Closed
ghost opened this issue Jan 16, 2019 · 1 comment
Closed

How to add elements to NavBar? #3

ghost opened this issue Jan 16, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 16, 2019

Hi, I am trying to create a page with the a horizontal navbar on top. I tried setting vertical=FALSE in argonDashSidebar but the items are displayed under each other not side by side.

I think having a top navbar to navigate between the different app pages is a crucial aspect of a Shiny app. Thanks for any help!

@DivadNojnarg
Copy link
Member

Hi,

Indeed. Compared to the original template, argonDash sidebar items do not have the same class as the original template since I needed a special class to trigger tabs in the body (namely nav-pills). This explains why they don't behave as expected when vertical is set to FALSE.

I will push an easy fix tonight.

I will implement a feature as in vanilla shiny to make it cleaner. This will take more time however.

DivadNojnarg added a commit that referenced this issue Jan 16, 2019
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

No branches or pull requests

1 participant