From 2499d505da04bcd3888541a8f8f2746902441b2c Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 21 Aug 2024 14:47:59 +0300 Subject: [PATCH] Fixed #6249 --- packages/primevue/src/scrolltop/style/ScrollTopStyle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/primevue/src/scrolltop/style/ScrollTopStyle.js b/packages/primevue/src/scrolltop/style/ScrollTopStyle.js index 11c972851..da6aa9de1 100644 --- a/packages/primevue/src/scrolltop/style/ScrollTopStyle.js +++ b/packages/primevue/src/scrolltop/style/ScrollTopStyle.js @@ -2,13 +2,13 @@ import BaseStyle from '@primevue/core/base/style'; const theme = ({ dt }) => ` .p-scrolltop.p-button { - position: fixed; + position: fixed !important; bottom: 20px; right: 20px; } .p-scrolltop-sticky.p-button { - position: sticky; + position: sticky !important; display: flex; margin-left: auto; }