The css file in core\modules\menu_ui\css is not loaded because the path given in MenuListBuilder.php and MenuForm.php is not correct.

I have created a small patch for this.

Comments

stefan.korn’s picture

dawehner’s picture

Status: Active » Needs review
Issue tags: +Quickfix

Good catch!

While we are here, can we add this css directly to a new entry in the menu_ui.libraries.yml and then attach the library instead?

stefan.korn’s picture

Yes, that would surely make sense.

How about this one?

dawehner’s picture

+++ b/core/modules/menu_ui/menu_ui.libraries.yml
@@ -14,3 +14,9 @@ drupal.menu_ui.admin:
+drupal.menu_ui.adminforms:
...
+      css/menu_ui.admin.css: {}	

Let's get rid of the whitespaces here, sorry :(

stefan.korn’s picture

Damn whitespaces are so invisble, always miss them ...

I think you mean white space at the end only, not those for indenting?

So let's try this one

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

+1

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 796cec2 and pushed to 8.0.x. Thanks!

  • alexpott committed 796cec2 on 8.0.x
    Issue #2361599 by stefan.korn: Fixed menu_ui css file is not loaded.
    

Status: Fixed » Closed (fixed)

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