Skip to content

Commit ca27f64

Browse files
feat: improve footer UI
1 parent 0c1b1c1 commit ca27f64

4 files changed

Lines changed: 967 additions & 2567 deletions

File tree

src/components/scroll/bottom-to-top.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ export default function ScrollBottomToTop() {
3131
<div className="scroll-to-top">
3232
{isVisible && (
3333
<button
34-
aria-label="Scroll to top"
34+
aria-label="Scroll to top"
3535
onClick={scrollToTop}
36-
className="fixed right-5 bottom-5 z-50 cursor-pointer rounded-full border-none bg-gray-700 p-3 text-white shadow-lg transition-opacity duration-300 hover:bg-gray-800 dark:bg-gray-600 dark:hover:bg-gray-700"
37-
style={{ backgroundColor: "var(--ifm-color-primary)" }}
36+
className="scroll-to-top-button"
3837
>
3938
<FaArrowUp />
4039
</button>

0 commit comments

Comments
 (0)