From 2800cd55bfb00e7af5b2f225044165646e49c322 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 16 Oct 2024 11:59:31 +0300 Subject: [PATCH 1/2] Fixed #6590 - Wrong token binding on inputtext --- packages/primevue/src/inputtext/style/InputTextStyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/inputtext/style/InputTextStyle.js b/packages/primevue/src/inputtext/style/InputTextStyle.js index 8b4cfc729..040b32a04 100644 --- a/packages/primevue/src/inputtext/style/InputTextStyle.js +++ b/packages/primevue/src/inputtext/style/InputTextStyle.js @@ -38,7 +38,7 @@ const theme = ({ dt }) => ` } .p-inputtext.p-variant-filled:enabled:hover { - border-color: ${dt('inputtext.filled.hover.background')}; + background: ${dt('inputtext.filled.hover.background')}; } .p-inputtext.p-variant-filled:enabled:focus { From db5dee83d98fdd35e547232a083f6be57d614021 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 16 Oct 2024 11:59:59 +0300 Subject: [PATCH 2/2] Remove unused part --- packages/primevue/src/megamenu/style/MegaMenuStyle.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/primevue/src/megamenu/style/MegaMenuStyle.js b/packages/primevue/src/megamenu/style/MegaMenuStyle.js index 16d32aab1..3b6fd685a 100644 --- a/packages/primevue/src/megamenu/style/MegaMenuStyle.js +++ b/packages/primevue/src/megamenu/style/MegaMenuStyle.js @@ -307,8 +307,7 @@ const theme = ({ dt }) => ` `; const inlineStyles = { - rootList: ({ props }) => ({ 'max-height': props.scrollHeight, overflow: 'auto' }), - submenu: ({ instance, processedItem }) => ({ display: instance.isItemActive(processedItem) ? 'block' : 'none' }) + rootList: ({ props }) => ({ 'max-height': props.scrollHeight, overflow: 'auto' }) }; const classes = {