Refactor #6691 - For ScrollTop

pull/6697/head
tugcekucukoglu 2024-10-31 12:07:30 +03:00
parent 605aa167b1
commit 6f281b8dbe
1 changed files with 3 additions and 3 deletions

View File

@ -3,14 +3,14 @@ import BaseStyle from '@primevue/core/base/style';
const theme = ({ dt }) => ` const theme = ({ dt }) => `
.p-scrolltop.p-button { .p-scrolltop.p-button {
position: fixed !important; position: fixed !important;
bottom: 20px; inset-block-end: 20px;
right: 20px; inset-inline-end: 20px;
} }
.p-scrolltop-sticky.p-button { .p-scrolltop-sticky.p-button {
position: sticky !important; position: sticky !important;
display: flex; display: flex;
margin-left: auto; margin-inline-start: auto;
} }
.p-scrolltop-enter-from { .p-scrolltop-enter-from {