Skip to content

Fix issue #1399: Scroll-to-top button styling for dark theme#1405

Open
Darshini240906 wants to merge 1 commit into
aryandas2911:mainfrom
Darshini240906:fix-issue-1399
Open

Fix issue #1399: Scroll-to-top button styling for dark theme#1405
Darshini240906 wants to merge 1 commit into
aryandas2911:mainfrom
Darshini240906:fix-issue-1399

Conversation

@Darshini240906
Copy link
Copy Markdown

📌 Description

Fixes #1399

Fixed the dashboard scroll-to-top button so it renders as a styled circular button instead of a plain white bar. Updated the component to use a dedicated CSS utility class and added theme-safe styling for dark mode.

🛠 Changes Made

  • Updated ScrollToTop.jsx to use scroll-to-top-btn
  • Added .scroll-to-top-btn styles in index.css
  • Improved hover and focus states
  • Ensured proper appearance in both light and dark themes

✅ Checklist

  • Followed project structure
  • No console errors
  • Linked the issue
  • Properly tested changes (tick if tested)
  • Code runs locally (tick if verified)

🚀 Notes for Reviewers

Please verify that the scroll-to-top button:

  • Appears as a circular button
  • Remains fixed in the bottom-right corner
  • Displays the upward arrow icon correctly
  • Works as expected in dark mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Scroll-to-top button renders as a plain white bar , styles not applied

1 participant