diff --git a/doc/scrolltop/BasicDoc.vue b/doc/scrolltop/BasicDoc.vue index 88b44424d..81a4fb034 100644 --- a/doc/scrolltop/BasicDoc.vue +++ b/doc/scrolltop/BasicDoc.vue @@ -4,7 +4,7 @@

Scroll down the page to display the ScrollTop component.

- +
diff --git a/doc/scrolltop/ElementDoc.vue b/doc/scrolltop/ElementDoc.vue index 63157d4fe..ae26de8e8 100644 --- a/doc/scrolltop/ElementDoc.vue +++ b/doc/scrolltop/ElementDoc.vue @@ -16,7 +16,7 @@ :threshold="100" icon="pi pi-arrow-up" :pt="{ - root: 'w-2rem h-2rem border-round-sm bg-primary hover:bg-primary', + root: 'w-2rem h-2rem border-round-sm bg-primary', icon: { class: 'text-base' } @@ -33,7 +33,26 @@ export default { return { code: { basic: ` - + +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae et leo duis ut diam. Ultricies mi quis hendrerit dolor magna eget est lorem. Amet consectetur adipiscing + elit ut. Nam libero justo laoreet sit amet. Pharetra massa massa ultricies mi quis hendrerit dolor magna. Est ultricies integer quis auctor elit sed vulputate. Consequat ac felis donec et. Tellus orci ac auctor augue mauris. Semper + feugiat nibh sed pulvinar proin gravida hendrerit lectus a. Tincidunt arcu non sodales neque sodales. Metus aliquam eleifend mi in nulla posuere sollicitudin aliquam ultrices. Sodales ut etiam sit amet nisl purus. Cursus sit amet + dictum sit amet. Tristique senectus et netus et malesuada fames ac turpis egestas. Et tortor consequat id porta nibh venenatis cras sed. Diam maecenas ultricies mi eget mauris. Eget egestas purus viverra accumsan in nisl nisi. + Suscipit adipiscing bibendum est ultricies integer. Mattis aliquam faucibus purus in massa tempor nec. +

+ +
`, options: `