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

[Feature Request] add responsive navigation #9514

Closed
Arhell opened this issue Dec 7, 2023 · 2 comments
Closed

[Feature Request] add responsive navigation #9514

Arhell opened this issue Dec 7, 2023 · 2 comments
Labels
template The stock site template

Comments

@Arhell
Copy link

Arhell commented Dec 7, 2023

Is your feature request related to a problem? Please describe.

Screenshot_1

Screenshot_2
Describe the solution you'd like
Add the ability to change navbar-expand-md to navbar-expand-lg and other options in docfx.json.

Additional context
If the navigation menu is large there is no way to change this.

Screenshot_3

@yufeih yufeih added the template The stock site template label Dec 13, 2023
@yufeih
Copy link
Contributor

yufeih commented Dec 13, 2023

The search box takes too much width, we could default to navbar-expand-lg and collapse the search box into an icon as needed.

@Arhell
Copy link
Author

Arhell commented Dec 13, 2023

The search box takes too much width, we could default to navbar-expand-lg and collapse the search box into an icon as needed.

Did I understand correctly that I will need to take the layout and change it there?
Example https://github.com/dotnet/docfx/blob/main/templates/default/partials/navbar.tmpl.partial

I just suggest doing this in the 1st file as I wrote in the first post docfx.json

@Arhell Arhell closed this as completed Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template The stock site template
Projects
None yet
Development

No branches or pull requests

2 participants