From 9568d28035c1b794c3503e41722b46bee1e48054 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 8 Apr 2024 18:42:47 +0300 Subject: [PATCH] Refactored ScrollPanel --- components/lib/scrollpanel/style/ScrollPanelStyle.js | 6 +++--- components/lib/themes/primeone/base/scrollpanel/index.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/lib/scrollpanel/style/ScrollPanelStyle.js b/components/lib/scrollpanel/style/ScrollPanelStyle.js index b2fc7784a..bfca1ee8e 100644 --- a/components/lib/scrollpanel/style/ScrollPanelStyle.js +++ b/components/lib/scrollpanel/style/ScrollPanelStyle.js @@ -2,10 +2,10 @@ import BaseStyle from 'primevue/base/style'; const classes = { root: 'p-scrollpanel p-component', - wrapper: 'p-scrollpanel-wrapper', + wrapper: 'p-scrollpanel-content-container', content: 'p-scrollpanel-content', - barx: 'p-scrollpanel-bar p-scrollpanel-bar-x', - bary: 'p-scrollpanel-bar p-scrollpanel-bar-y' + barX: 'p-scrollpanel-bar p-scrollpanel-bar-x', + barY: 'p-scrollpanel-bar p-scrollpanel-bar-y' }; export default BaseStyle.extend({ diff --git a/components/lib/themes/primeone/base/scrollpanel/index.js b/components/lib/themes/primeone/base/scrollpanel/index.js index 349418903..cd5a0523e 100644 --- a/components/lib/themes/primeone/base/scrollpanel/index.js +++ b/components/lib/themes/primeone/base/scrollpanel/index.js @@ -1,6 +1,6 @@ export default { css: ({ dt }) => ` -.p-scrollpanel-wrapper { +.p-scrollpanel-content-container { overflow: hidden; width: 100%; height: 100%;