From 6c0ca33e38b733b24d80811d7f3da901375bebb4 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 15 May 2024 11:53:50 +0300 Subject: [PATCH] Fixed panel menu focus --- components/lib/panelmenu/style/PanelMenuStyle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/panelmenu/style/PanelMenuStyle.js b/components/lib/panelmenu/style/PanelMenuStyle.js index 0352e4ad4..34609cc59 100644 --- a/components/lib/panelmenu/style/PanelMenuStyle.js +++ b/components/lib/panelmenu/style/PanelMenuStyle.js @@ -123,11 +123,11 @@ const theme = ({ dt }) => ` color: ${dt('panelmenu.item.focus.color')}; } -.p-panelmenu-item.p-focus > .p-panelmenu-item-icon { +.p-panelmenu-item.p-focus > .p-panelmenu-item-content .p-panelmenu-item-icon { color: ${dt('panelmenu.item.focus.color')}; } -.p-panelmenu-item.p-focus > .p-panelmenu-submenu-icon { +.p-panelmenu-item.p-focus > .p-panelmenu-item-content .p-panelmenu-submenu-icon { color: ${dt('panelmenu.submenu.icon.focus.color')}; }