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

EZP-28604: Menu is not collapsed when switching tab #230

Merged
merged 1 commit into from
Dec 19, 2017

Conversation

dew326
Copy link
Member

@dew326 dew326 commented Dec 19, 2017

Question Answer
Tickets https://jira.ez.no/browse/EZP-28604
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

Copy link
Contributor

@m-tyrala m-tyrala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA tests ok.

Copy link
Contributor

@sunpietro sunpietro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beside the comment looks good in terms of code.

@@ -52,10 +52,11 @@
padding: .625rem 1rem;
color: $ez-black;

&.active {
&.ez-active {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the class renaming do a thing? Strange without having a broader context.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's conflict with naming. The tab is looking for .active to hide the submenu but it finds the Content structure menu item because it also has class .active.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it because of Bootstrap scripts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed

@lserwatka lserwatka merged commit 55a7932 into ezsystems:master Dec 19, 2017
@dew326 dew326 deleted the collapse-menu branch December 19, 2017 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants