ScrollTop fixes

This commit is contained in:
tugcekucukoglu 2024-05-10 14:16:37 +03:00
parent d5306b7292
commit 5da30dd2b0

View file

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