Fix admin menu icon placeholder: load CSS globally
- 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 <noreply@anthropic.com>
This commit is contained in:
6
view/adminhtml/layout/default.xml
Normal file
6
view/adminhtml/layout/default.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
|
||||
<head>
|
||||
<css src="Shopkeeper_VendorSalesReport::css/vendor-report.css"/>
|
||||
</head>
|
||||
</page>
|
||||
Reference in New Issue
Block a user