Refactor #3965 - For Skeleton

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-25 17:43:15 +03:00
parent 4fc5d0918e
commit 42345f106f
2 changed files with 7 additions and 3 deletions

View file

@ -4,7 +4,6 @@ import { useStyle } from 'primevue/usestyle';
const styles = `
.p-skeleton {
position: relative;
overflow: hidden;
}
@ -38,6 +37,10 @@ const styles = `
}
`;
const inlineStyles = {
root: { position: 'relative' }
};
const classes = {
root: ({ props }) => [
'p-skeleton p-component',
@ -80,7 +83,8 @@ export default {
}
},
css: {
classes
classes,
inlineStyles
},
watch: {
isUnstyled: {