From c0ae5a37955cd6989e0ade8d1e629460e648c206 Mon Sep 17 00:00:00 2001 From: shopkeeperdev Date: Tue, 4 Nov 2025 17:19:41 -0500 Subject: [PATCH] Hide admin menu pseudo-icon completely: aggressive overrides for ::before/::after on vendorsalesreport links --- view/adminhtml/web/css/vendor-report.css | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/view/adminhtml/web/css/vendor-report.css b/view/adminhtml/web/css/vendor-report.css index e912e1d..ecaefc1 100644 --- a/view/adminhtml/web/css/vendor-report.css +++ b/view/adminhtml/web/css/vendor-report.css @@ -22,3 +22,29 @@ /* Historic selector kept for backward compatibility */ .item-vendorsalesreport > a:before { display: none !important; } + +/* Extra aggressive override: clear any pseudo-element glyphs (icon font) + This targets both ::before and ::after on links and fallback class + patterns and forces empty content, zero size, transparent color and + hidden visibility so icon fonts can't render a glyph/box. */ +.admin__menu a[href*="vendorsalesreport/report/index"]::before, +.admin__menu a[href*="vendorsalesreport/report/index"]::after, +.admin__menu [class*="vendorsalesreport"] > a::before, +.admin__menu [class*="vendorsalesreport"] > a::after, +.admin__menu [class*="vendorsalesreport"] > a:before, +.admin__menu [class*="vendorsalesreport"] > a:after { + content: "" !important; + font-family: initial !important; + font-size: 0 !important; + line-height: 0 !important; + color: transparent !important; + text-indent: 0 !important; + background: none !important; + display: inline-block !important; + width: 0 !important; + height: 0 !important; + margin: 0 !important; + padding: 0 !important; + overflow: hidden !important; + visibility: hidden !important; +}