From 6f281b8dbee436d40e7ba1c7a499b1f2943699c5 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 31 Oct 2024 12:07:30 +0300 Subject: [PATCH] Refactor #6691 - For ScrollTop --- packages/primevue/src/scrolltop/style/ScrollTopStyle.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {