Problem/Motivation

When menu item has sub item then layout is break, see the attached file (menu-error.png). Also sub item text is not visible when it has no sub item, see the attached file (menu-level2.png). Sub menu layout also change when hover on that item. See the attached file (menu-level3.png).

To Reproduce

Steps:
1. Create menu item with sub items.
2. Hover on that item which has sub menu item.

Expected Result

Sub menu item should be visible and item should be align properly.

menu-error
menu

menu-level2
menu-level

menu-level3
menu-level3

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bandanasharma created an issue. See original summary.

bandanasharma’s picture

Issue summary: View changes
bandanasharma’s picture

Priority: Normal » Major
devshi.addweb’s picture

Assigned: Unassigned » devshi.addweb
devshi.addweb’s picture

Status: Active » Needs review
FileSize
1.84 KB

@bandanasharma, I review your issue mentioned above, I worked on it & attached the patch for the same. Kindly review my attached patch & let me know.

deepakkumar14’s picture

Status: Needs review » Needs work
FileSize
494.03 KB

@hiral.addweb i have reviewed your patch and the alignment issue still not better and I think the left side white space should be reduced as well. The child of sub child menu breaks on screen. See the attached screenshot for the reference.

saxenaakansha30’s picture

I have worked on the issue and fixed it. Attaching the patch.

I found this issue and issue #2977436 relevant. So the patch I'm attaching would fix both issues together with minimum code modification.

Need reviews.

saxenaakansha30’s picture

Assigned: devshi.addweb » saxenaakansha30
Status: Needs work » Needs review

bandanasharma’s picture

@saxenaakansha30@gmail.com Please change the status "Needs Review" to "Fixed".

saxenaakansha30’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.