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 { 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 = {