From 92b301883f0ba5c8ab564ec9a8c1b0d51e39a8f7 Mon Sep 17 00:00:00 2001 From: shopkeeperdev Date: Tue, 4 Nov 2025 19:55:08 -0500 Subject: [PATCH] Fix admin menu icon placeholder: load CSS globally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Created view/adminhtml/layout/default.xml to load vendor-report.css on all admin pages - Updated menu.xml formatting and added dependsOnModule attribute - This ensures the CSS rules that hide the menu icon placeholder are applied globally The rectangle/box appearing next to the menu item was caused by the CSS not being loaded on the admin menu navigation. The default.xml layout file ensures the CSS loads everywhere in the admin, properly hiding the icon. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- etc/adminhtml/menu.xml | 15 ++++++++------- view/adminhtml/layout/default.xml | 6 ++++++ 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 view/adminhtml/layout/default.xml diff --git a/etc/adminhtml/menu.xml b/etc/adminhtml/menu.xml index 0701251..98de174 100644 --- a/etc/adminhtml/menu.xml +++ b/etc/adminhtml/menu.xml @@ -1,12 +1,13 @@ - + diff --git a/view/adminhtml/layout/default.xml b/view/adminhtml/layout/default.xml new file mode 100644 index 0000000..3a52632 --- /dev/null +++ b/view/adminhtml/layout/default.xml @@ -0,0 +1,6 @@ + + + + + +