diff --git a/packages/primevue/src/scrolltop/style/ScrollTopStyle.js b/packages/primevue/src/scrolltop/style/ScrollTopStyle.js index da6aa9de1..39f008eed 100644 --- a/packages/primevue/src/scrolltop/style/ScrollTopStyle.js +++ b/packages/primevue/src/scrolltop/style/ScrollTopStyle.js @@ -3,14 +3,14 @@ import BaseStyle from '@primevue/core/base/style'; const theme = ({ dt }) => ` .p-scrolltop.p-button { position: fixed !important; - bottom: 20px; - right: 20px; + inset-block-end: 20px; + inset-inline-end: 20px; } .p-scrolltop-sticky.p-button { position: sticky !important; display: flex; - margin-left: auto; + margin-inline-start: auto; } .p-scrolltop-enter-from {