Skip to content

fix: move toast notification to bottom-right and update slide animation (#1716)#1745

Open
aaniya22 wants to merge 2 commits into
recodehive:mainfrom
aaniya22:fix/blog-read-time-ui
Open

fix: move toast notification to bottom-right and update slide animation (#1716)#1745
aaniya22 wants to merge 2 commits into
recodehive:mainfrom
aaniya22:fix/blog-read-time-ui

Conversation

@aaniya22
Copy link
Copy Markdown
Contributor

Summary

Fixes #1716

The toast notification ("Check out our latest leaderboard!") was appearing at the top-right of the screen, overlapping the navbar and cluttering the top UI. This fix moves it to the bottom-right for a cleaner, less intrusive experience.

Changes Made

  • src/theme/Root.module.css — changed top: 20px to bottom: 20px in .toastContainer
  • src/theme/Root.module.css — updated slideDownFadeOut keyframes to slide up from bottom (translateY(10px)) instead of sliding down from top (translateY(-10px))

Before

Toast appeared at top-right, overlapping the navigation bar.

After

Toast appears at bottom-right with a slide-up animation, keeping the top UI clean.


Contributing under GSSoC'26

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 26, 2026

@aaniya22 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@github-actions github-actions Bot added in-review The current changes are in review and would need approval and testing before merging level 1 10 points recode this is label for leaderboard labels May 26, 2026
@github-actions github-actions Bot added this to the recode:launch 3.0 milestone May 26, 2026
@github-actions github-actions Bot added Enhacement gssoc26 label gssoc:approved gssoc label quality:clean gssoc label x1.2 type:docs gssoc label 5pts type:testing gssoc label 10pts labels May 26, 2026
@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1716:

  • Labels: level 1, recode, Enhacement, quality:clean, gssoc:approved, type:docs, type:testing
  • Milestone: recode:launch 3.0

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
recode-website Ready Ready Preview, Comment May 26, 2026 7:11am

Comment thread src/theme/Root.module.css Outdated
.toastContainer {
position: fixed;
top: 20px;
bottom: 20px;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review with @Adez017

Copy link
Copy Markdown
Member

@Adez017 Adez017 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aaniya22 the main objective is to make the toast notification below the search bar , can you cross check with the css modification? . The current one looks simply toast notification is placed at the bottom.

@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1716:

  • Labels: level 1, recode, Enhacement, quality:clean, gssoc:approved, type:docs, type:testing
  • Milestone: recode:launch 3.0

@Adez017
Copy link
Copy Markdown
Member

Adez017 commented May 29, 2026

Hi @sanjay-kv i had pushed some chnages can we trigger the CI t preview?

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

Labels

Enhacement gssoc26 label gssoc:approved gssoc label in-review The current changes are in review and would need approval and testing before merging level 1 10 points quality:clean gssoc label x1.2 recode this is label for leaderboard type:docs gssoc label 5pts type:testing gssoc label 10pts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

change where the pop up appear | toast refractor

3 participants