ScrollTop fixes

pull/5756/head
tugcekucukoglu 2024-05-10 14:16:37 +03:00
parent d5306b7292
commit 5da30dd2b0
1 changed files with 3 additions and 5 deletions

View File

@ -1,17 +1,15 @@
import BaseStyle from 'primevue/base/style'; import BaseStyle from 'primevue/base/style';
const theme = ({ dt }) => ` const theme = ({ dt }) => `
.p-scrolltop { .p-scrolltop.p-button {
position: fixed; position: fixed;
bottom: 20px; bottom: 20px;
right: 20px; right: 20px;
} }
.p-scrolltop-sticky { .p-scrolltop-sticky.p-button {
position: sticky; position: sticky;
} display: flex;
.p-scrolltop-sticky {
margin-left: auto; margin-left: auto;
} }