mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
ScrollTop fixes
This commit is contained in:
parent
d5306b7292
commit
5da30dd2b0
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue