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

Responsive height main navigation #502

Closed
wants to merge 4 commits into from

Conversation

pxamike
Copy link
Contributor

@pxamike pxamike commented Apr 9, 2019

This pull-request contains a new less-variables: nav-height-md that by default inherits nav-height, but by setting an unique-value you can control the height of main-navigation (and all other items that are placed there) in desktop. It will still keep its default nav-height in the hamburger-menu in tablet and smaller.

It has been tested with most of the theme configurations concerning main-navigation (language menu, search) enabled as well as with touch-mode enabled. No new theme constant has however been added.

In the screenshots below, @nav-height-md is 100px, contrary to @nav-height's ordinary 60px.

nav-height-md_desktop
nav-height-tablet

…-navigation.

- fixed positioning of touch button in main-navigation
- fixed positioning of small arrow in _open-sub-menu-link (main-navigation) when using dropdownColumns
@pxamike
Copy link
Contributor Author

pxamike commented Apr 10, 2019

@dmh I noticed I ran "grunt production" here, which uglifies css and js (and it seems it wasn't before). Is it better that I change this to "grunt compileLess && grunt compileCss" for these pull-requests?

@dmh
Copy link
Member

dmh commented Apr 10, 2019

@pxamike Yes, use grunt compileLess and grunt compileCss for pull-request

@dmh dmh added the t3kit9 label Jul 11, 2019
@dmh dmh added TASK and removed t3kit9 labels Sep 12, 2019
@dmh dmh added question and removed TASK labels May 26, 2020
@dmh dmh closed this May 26, 2020
@dmh dmh removed the question label May 26, 2020
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

Successfully merging this pull request may close these issues.

2 participants