Refactored ScrollPanel

pull/5677/head
Cagatay Civici 2024-04-08 18:42:47 +03:00
parent 3535a22917
commit 9568d28035
2 changed files with 4 additions and 4 deletions

View File

@ -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({

View File

@ -1,6 +1,6 @@
export default {
css: ({ dt }) => `
.p-scrollpanel-wrapper {
.p-scrollpanel-content-container {
overflow: hidden;
width: 100%;
height: 100%;