diff --git a/components/lib/skeleton/BaseSkeleton.vue b/components/lib/skeleton/BaseSkeleton.vue
index dbceb652b..c957582eb 100644
--- a/components/lib/skeleton/BaseSkeleton.vue
+++ b/components/lib/skeleton/BaseSkeleton.vue
@@ -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: {
diff --git a/components/lib/skeleton/Skeleton.vue b/components/lib/skeleton/Skeleton.vue
index 6717c1dea..ad2e48874 100644
--- a/components/lib/skeleton/Skeleton.vue
+++ b/components/lib/skeleton/Skeleton.vue
@@ -1,5 +1,5 @@
-
+