We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 700cf93 commit b49ad2fCopy full SHA for b49ad2f
1 file changed
src/components/scroll/bottom-to-top.tsx
@@ -30,7 +30,8 @@ export default function ScrollBottomToTop() {
30
showButton && (
31
<button
32
onClick={scrollToTop}
33
- className="fixed right-5 bottom-20 z-50 cursor-pointer rounded-lg border-none bg-blue-600 p-2.5 text-white opacity-80 shadow-md transition-opacity duration-300 hover:bg-blue-700 hover:opacity-100"
+ className="fixed right-5 bottom-5 z-50 cursor-pointer rounded-full border-none bg-gray-700 p-3 text-white shadow-lg transition-all duration-300 hover:scale-110 hover:bg-gray-800 dark:bg-gray-600 dark:hover:bg-gray-700"
34
+ style={{ backgroundColor: "var(--ifm-color-primary)" }}
35
>
36
<FaArrowUp />
37
</button>
0 commit comments