Refactored ScrollPanel
parent
3535a22917
commit
9568d28035
|
@ -2,10 +2,10 @@ import BaseStyle from 'primevue/base/style';
|
||||||
|
|
||||||
const classes = {
|
const classes = {
|
||||||
root: 'p-scrollpanel p-component',
|
root: 'p-scrollpanel p-component',
|
||||||
wrapper: 'p-scrollpanel-wrapper',
|
wrapper: 'p-scrollpanel-content-container',
|
||||||
content: 'p-scrollpanel-content',
|
content: 'p-scrollpanel-content',
|
||||||
barx: 'p-scrollpanel-bar p-scrollpanel-bar-x',
|
barX: 'p-scrollpanel-bar p-scrollpanel-bar-x',
|
||||||
bary: 'p-scrollpanel-bar p-scrollpanel-bar-y'
|
barY: 'p-scrollpanel-bar p-scrollpanel-bar-y'
|
||||||
};
|
};
|
||||||
|
|
||||||
export default BaseStyle.extend({
|
export default BaseStyle.extend({
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export default {
|
export default {
|
||||||
css: ({ dt }) => `
|
css: ({ dt }) => `
|
||||||
.p-scrollpanel-wrapper {
|
.p-scrollpanel-content-container {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
Loading…
Reference in New Issue